3 references to ZipFileCommentMaxLength
System.IO.Compression (3)
System\IO\Compression\ZipArchive.cs (2)
224
set => _archiveComment = ZipHelper.GetEncodedTruncatedBytesFromString(value, EntryNameAndCommentEncoding, ZipEndOfCentralDirectoryBlock.
ZipFileCommentMaxLength
, out _);
530
ZipEndOfCentralDirectoryBlock.
ZipFileCommentMaxLength
+ ZipEndOfCentralDirectoryBlock.SignatureSize))
System\IO\Compression\ZipBlocks.cs (1)
601
Debug.Assert(archiveComment.Length <=
ZipFileCommentMaxLength
);