public static XZIndex FromStream(Stream stream, bool indexMarkerAlreadyVerified)
        {
            var index = new XZIndex(new BinaryReader(new NonDisposingStream(stream), Encoding.UTF8), indexMarkerAlreadyVerified);

            index.Process();
            return(index);
        }
Exemple #2
0
 private void ReadIndex()
 {
     Index = XZIndex.FromStream(BaseStream, true);
     // TODO veryfy Index
 }