internal int PopInteger() { return(BinaryEncoding.DecodeInt(ReadBytes(4))); }
internal short PopShort() { return(BinaryEncoding.DecodeShort(ReadBytes(2))); }
/// <summary> /// Reads a single byte as a boolean and returns it. False is returned if there is no remaining content. /// </summary> private bool PopBoolean() { return(BinaryEncoding.DecodeBool(ReadBytes(1))); }
internal byte PopByte() { return(BinaryEncoding.DecodeByte(ReadBytes(1))); }
public override int ParseLength(byte[] data) { return(BinaryEncoding.DecodeInt(data)); }