1
0
mirror of https://github.com/facebook/zstd.git synced 2025-03-06 16:56:49 +02:00

number instead of nb

suggested by @terrelln
This commit is contained in:
Yann Collet 2019-08-17 08:04:42 +02:00
parent 1e07eb4d5c
commit 97bb38635c

View File

@ -388,7 +388,7 @@ The upper 21 bits of `Block_Header` represent the `Block_Size`.
When `Block_Type` is `Compressed_Block` or `Raw_Block`, When `Block_Type` is `Compressed_Block` or `Raw_Block`,
`Block_Size` is the size of `Block_Content`, hence excluding `Block_Header`. `Block_Size` is the size of `Block_Content`, hence excluding `Block_Header`.
When `Block_Type` is `RLE_Block`, `Block_Content`’s size is always 1, When `Block_Type` is `RLE_Block`, `Block_Content`’s size is always 1,
and `Block_Size` represents the nb of times this byte must be repeated. and `Block_Size` represents the number of times this byte must be repeated.
A block can contain and decompress into any number of bytes (even zero), A block can contain and decompress into any number of bytes (even zero),
up to `Block_Maximum_Decompressed_Size`, which is the smallest of: up to `Block_Maximum_Decompressed_Size`, which is the smallest of:
- Window_Size - Window_Size