public static XZIndex FromStream(Stream stream, bool indexMarkerAlreadyVerified) { var index = new XZIndex(new BinaryReader(stream, Encoding.UTF8, true), indexMarkerAlreadyVerified); index.Process(); return(index); }
private void ReadIndex() { Index = XZIndex.FromStream(BaseStream, true); // TODO veryfy Index }
public static XZIndex FromStream(Stream stream, bool indexMarkerAlreadyVerified) { var index = new XZIndex(new BinaryReader(stream, Encoding.UTF8, true), indexMarkerAlreadyVerified); index.Process(); return index; }