From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "magic" |
|---|
| subject | "Format:Brotli" |
|---|
| claim | "A large-window Brotli stream (C library 1.0.3+, BROTLI_PARAM_LARGE_WINDOW; not RFC 7932) starts with the byte 0x11 (the 7 bits 0010001 that RFC 7932 declares invalid, then a 0 bit), followed by WBITS 10-30 in the low 6 bits of byte 1. Decoders reject it unless BROTLI_DECODER_PARAM_LARGE_WINDOW is set." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Brotli" |
|---|
| observed_in | |
|---|
|
|---|
| data | | bytes | "11" |
|---|
| offset | "0x0" |
|---|
| meaning | "large-window Brotli stream; byte 1 bits 0-5 = WBITS (10-30)" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "*last_bytes = ((lgwin & 0x3F) << 8) | 0x11; 14 bits" |
|---|
| repo | "https://github.com/google/brotli" |
|---|
| commit | "86ee1f65f62d6272345dee751d49e7d1f01c2b11" |
|---|
| path | "c/enc/encode.c" |
|---|
| lines | "200-204" |
|---|
|
| type | "source" |
|---|
| detail | "n == 1 after the 1000 prefix: large window only when allowed, then 6 bits checked against BROTLI_LARGE_MIN_WBITS 10 and BROTLI_LARGE_MAX_WBITS 30" |
|---|
| repo | "https://github.com/google/brotli" |
|---|
| commit | "86ee1f65f62d6272345dee751d49e7d1f01c2b11" |
|---|
| path | "c/dec/decode.c" |
|---|
| lines | "161-173, 2566-2577" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Large-window stream 11" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T19:01:46.815Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T11:31:42.141Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read c/enc/encode.c EncodeWindowBits at the cited commit: large_window -> last_bytes = ((lgwin & 0x3F) << 8) | 0x11, 14 bits (encoder side only; decoder lines not re-read)" |
|---|
|
|
|---|