internal Byte ReadUInt8WithOutTypeHead() { var val = BssomBinaryPrimitives.ReadUInt8(ref BssomBuffer.ReadRef(BssomBinaryPrimitives.UInt8Size)); BssomBuffer.SeekWithOutVerify(BssomBinaryPrimitives.UInt8Size, BssomSeekOrgin.Current); return(val); }
internal Int64 ReadInt64WithOutTypeHead() { var val = BssomBinaryPrimitives.ReadInt64LittleEndian(ref BssomBuffer.ReadRef(BssomBinaryPrimitives.Int64Size)); BssomBuffer.SeekWithOutVerify(BssomBinaryPrimitives.Int64Size, BssomSeekOrgin.Current); return(val); }
internal Guid ReadGuidWithOutTypeHead() { var val = BssomBinaryPrimitives.ReadGuid(ref BssomBuffer.ReadRef(BssomBinaryPrimitives.GuidSize)); BssomBuffer.SeekWithOutVerify(BssomBinaryPrimitives.GuidSize, BssomSeekOrgin.Current); return(val); }
internal Decimal ReadDecimalWithOutTypeHead() { var val = BssomBinaryPrimitives.ReadDecimal(ref BssomBuffer.ReadRef(BssomBinaryPrimitives.DecimalSize)); BssomBuffer.SeekWithOutVerify(BssomBinaryPrimitives.DecimalSize, BssomSeekOrgin.Current); return(val); }
internal Boolean ReadBooleanWithOutTypeHead() { var val = BssomBinaryPrimitives.ReadBoolean(ref BssomBuffer.ReadRef(BssomBinaryPrimitives.BooleanSize)); BssomBuffer.SeekWithOutVerify(BssomBinaryPrimitives.BooleanSize, BssomSeekOrgin.Current); return(val); }
internal Single ReadFloat32WithOutTypeHead() { var val = BssomBinaryPrimitives.ReadFloat32LittleEndian(ref BssomBuffer.ReadRef(BssomBinaryPrimitives.Float32Size)); BssomBuffer.SeekWithOutVerify(BssomBinaryPrimitives.Float32Size, 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); }