From: Yann Collet Date: Sat, 17 Aug 2019 06:04:42 +0000 (+0200) Subject: `number` instead of `nb` X-Git-Tag: v1.4.4~1^2~77^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97bb38635c0616ab024af0a71b3d115fcbc4382a;p=thirdparty%2Fzstd.git `number` instead of `nb` suggested by @terrelln --- diff --git a/doc/zstd_compression_format.md b/doc/zstd_compression_format.md index 39a8f1776..111dd98ae 100644 --- a/doc/zstd_compression_format.md +++ b/doc/zstd_compression_format.md @@ -388,7 +388,7 @@ The upper 21 bits of `Block_Header` represent the `Block_Size`. When `Block_Type` is `Compressed_Block` or `Raw_Block`, `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, -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), up to `Block_Maximum_Decompressed_Size`, which is the smallest of: - Window_Size