public static XZHeader FromStream(Stream stream) { var header = new XZHeader(new BinaryReader(stream, Encoding.UTF8, true)); header.Process(); return(header); }
public static XZHeader FromStream(Stream stream) { var header = new XZHeader(new BinaryReader(stream, Encoding.UTF8, true)); header.Process(); return header; }
private void ReadHeader() { Header = XZHeader.FromStream(BaseStream); AssertBlockCheckTypeIsSupported(); HeaderIsRead = true; }