public override void Parse(Stream s)
{
base.Parse(s);
int index = 0;
int temp = ReadINT32();
this.A = (byte)GetBits(temp, index, 2);
index = index + 2;
this.B = (byte)GetBits(temp, index, 1);
index = index + 1;
this.Type = (StreamObjectTypeHeaderStart)GetBits(temp, index, 14);
index = index + 14;
this.Length = (byte)GetBits(temp, index, 15);
if (this.Length == 32767)
{
this.LargeLength = new CompactUnsigned64bitInteger();
this.LargeLength = this.LargeLength.TryParse(s);
}
}