From c287b0ffadd889586ec89cddeb05fa7222e9d4da Mon Sep 17 00:00:00 2001 From: Tino Reichardt Date: Thu, 25 May 2017 17:30:01 +0200 Subject: [PATCH] Update Methods-Extern.md Be more clear with the 7-Zip Header --- DOC/Methods-Extern.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/DOC/Methods-Extern.md b/DOC/Methods-Extern.md index d31e4a46..698b2cc4 100644 --- a/DOC/Methods-Extern.md +++ b/DOC/Methods-Extern.md @@ -62,9 +62,9 @@ License: Zstandard library is provided as open source software using the BSD license. 7-Zip Container Header: - -This header is for informational purposes only. It's not mandatory for -decompressing the data. +This header is mandatory and must be exact 5 bytes. The data within that header +is for informational purposes only and not used by the decoder. If the header +is not there, or has another size, the decoder will not decompress the content. ``` C Byte _ver_major; // currently 1 Byte _ver_minor; // currently 2 @@ -119,9 +119,9 @@ License: The Brotli library is provided as open source software using the MIT license. 7-Zip Container Header (3 bytes): - -This header is for informational purposes only. It's not mandatory for -decompressing the data. +This header is mandatory and must be exact 3 bytes. The data within that header +is for informational purposes only and not used by the decoder. If the header +is not there, or has another size, the decoder will not decompress the content. ``` C Byte _ver_major; // currently 0 Byte _ver_minor; // currently 6 @@ -164,9 +164,9 @@ License: LZ4 library is provided as open source software using the BSD license. 7-Zip Container Header: - -This header is for informational purposes only. It's not mandatory for -decompressing the data. +This header is mandatory and must be exact 5 bytes. The data within that header +is for informational purposes only and not used by the decoder. If the header +is not there, or has another size, the decoder will not decompress the content. ``` C Byte _ver_major; // currently 1 Byte _ver_minor; // currently 7 @@ -215,9 +215,9 @@ License: LZ5 library is provided as open source software using the BSD license. 7-Zip Container Header: - -This header is for informational purposes only. It's not mandatory for -decompressing the data. +This header is mandatory and must be exact 5 bytes. The data within that header +is for informational purposes only and not used by the decoder. If the header +is not there, or has another size, the decoder will not decompress the content. ``` C Byte _ver_major; // currently 1 Byte _ver_minor; // currently 5 @@ -264,9 +264,9 @@ License: Lizard library is provided as open source software using the BSD license. 7-Zip Container Header: - -This header is for informational purposes only. It's not mandatory for -decompressing the data. +This header is mandatory and must be exact 3 bytes. The data within that header +is for informational purposes only and not used by the decoder. If the header +is not there, or has another size, the decoder will not decompress the content. ``` C Byte _ver_major; // currently 2 Byte _ver_minor; // currently 0