i think its 2 bytes
This commit is contained in:
parent
121e93e0a0
commit
4c7f0a237a
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ and decode_name_simple reader =
|
||||||
else if length land 0b1100_0000 <> 0
|
else if length land 0b1100_0000 <> 0
|
||||||
then (
|
then (
|
||||||
let decoded_name = decode_compressed_name reader length in
|
let decoded_name = decode_compressed_name reader length in
|
||||||
length + 1, decoded_name :: parts)
|
2, decoded_name :: parts)
|
||||||
else (
|
else (
|
||||||
let part = Bytes.sub_string reader.data (reader.pointer + pos + 1) length in
|
let part = Bytes.sub_string reader.data (reader.pointer + pos + 1) length in
|
||||||
let last_length, parts' = read_parts (parts @ [ part ]) (pos + 1 + length) in
|
let last_length, parts' = read_parts (parts @ [ part ]) (pos + 1 + length) in
|
||||||
|
|
Reference in a new issue