internal UInt16 ReadUInt16WithOutTypeHead() { var val = BssomBinaryPrimitives.ReadUInt16LittleEndian(ref BssomBuffer.ReadRef(BssomBinaryPrimitives.UInt16Size)); BssomBuffer.SeekWithOutVerify(BssomBinaryPrimitives.UInt16Size, BssomSeekOrgin.Current); return(val); }
internal SByte ReadInt8() { EnsureTypeWithSkipBlankCharacter(BssomType.Int8Code); var val = BssomBinaryPrimitives.ReadInt8(ref BssomBuffer.ReadRef(BssomBinaryPrimitives.Int8Size)); BssomBuffer.SeekWithOutVerify(BssomBinaryPrimitives.Int8Size, BssomSeekOrgin.Current); return(val); }
internal Int64 ReadInt64() { EnsureTypeWithSkipBlankCharacter(BssomType.Int64Code); var val = BssomBinaryPrimitives.ReadInt64LittleEndian(ref BssomBuffer.ReadRef(BssomBinaryPrimitives.Int64Size)); BssomBuffer.SeekWithOutVerify(BssomBinaryPrimitives.Int64Size, BssomSeekOrgin.Current); return(val); }
internal Guid ReadGuid() { EnsureNativeTypeWithSkipBlankCharacter(NativeBssomType.GuidCode); var val = BssomBinaryPrimitives.ReadGuid(ref BssomBuffer.ReadRef(BssomBinaryPrimitives.GuidSize)); BssomBuffer.SeekWithOutVerify(BssomBinaryPrimitives.GuidSize, BssomSeekOrgin.Current); return(val); }
internal Char ReadChar() { EnsureNativeTypeWithSkipBlankCharacter(NativeBssomType.CharCode); var val = BssomBinaryPrimitives.ReadCharLittleEndian(ref BssomBuffer.ReadRef(BssomBinaryPrimitives.CharSize)); BssomBuffer.SeekWithOutVerify(BssomBinaryPrimitives.CharSize, BssomSeekOrgin.Current); return(val); }
internal Boolean ReadBoolean() { EnsureTypeWithSkipBlankCharacter(BssomType.BooleanCode); var val = BssomBinaryPrimitives.ReadBoolean(ref BssomBuffer.ReadRef(BssomBinaryPrimitives.BooleanSize)); BssomBuffer.SeekWithOutVerify(BssomBinaryPrimitives.BooleanSize, BssomSeekOrgin.Current); return(val); }
internal Single ReadFloat32() { EnsureTypeWithSkipBlankCharacter(BssomType.Float32Code); var val = BssomBinaryPrimitives.ReadFloat32LittleEndian(ref BssomBuffer.ReadRef(BssomBinaryPrimitives.Float32Size)); BssomBuffer.SeekWithOutVerify(BssomBinaryPrimitives.Float32Size, BssomSeekOrgin.Current); return(val); }