protected override void ReadV8(ByteReader reader) { Compression = reader.ReadU32() == 2; CompressedLength = reader.ReadI32(); Algorithm = reader.ReadByte(); reader.Inflate(true, CompressedLength - 1); // Decompress the remainder of the header Length = reader.ReadI32(); ObjectTypeID = reader.ReadGuid(); ObjectBaseType = (ObjectBaseType) reader.ReadByte(); }
protected override void ReadV10(ByteReader reader) { Length = reader.ReadI32(); ObjectTypeID = reader.ReadGuid(); ObjectBaseType = (ObjectBaseType)reader.ReadByte(); ObjectID = reader.ReadI32(); }
protected override void ReadV8(ByteReader reader) { Length = reader.ReadI32(); ObjectTypeID = reader.ReadGuid(); if (!ObjectTypeID.Equals(Element.EndOfElements)) ObjectBaseType = (ObjectBaseType)reader.ReadByte(); }
protected override void ReadV8(ByteReader reader) { base.ReadV8(reader); SegmentID = reader.ReadGuid(); SegmentType = reader.ReadI32(); }
private void ReadV9(ByteReader reader) { EmptyInt = reader.ReadI32(); TocOffset = reader.ReadI32(); LsgSegmentID = reader.ReadGuid(); if (EmptyInt != 0) EmptyGuid = reader.ReadGuid(); }
private void ReadV8(ByteReader reader) { EmptyInt = reader.ReadI32(); TocOffset = reader.ReadI32(); LsgSegmentID = reader.ReadGuid(); }
public void Read(ByteReader reader) { SegmentID = reader.ReadGuid(); SegmentType = (SegmentType)reader.ReadI32(); SegmentLength = reader.ReadI32(); }