Пример #1
0
        public static XZHeader FromStream(Stream stream)
        {
            var header = new XZHeader(new BinaryReader(stream, Encoding.UTF8, true));

            header.Process();
            return(header);
        }
Пример #2
0
 public static XZHeader FromStream(Stream stream)
 {
     var header = new XZHeader(new BinaryReader(stream, Encoding.UTF8, true));
     header.Process();
     return header;
 }
Пример #3
0
 private void ReadHeader()
 {
     Header = XZHeader.FromStream(BaseStream);
     AssertBlockCheckTypeIsSupported();
     HeaderIsRead = true;
 }