Ejemplo n.º 1
0
        internal Byte ReadUInt8WithOutTypeHead()
        {
            var val = BssomBinaryPrimitives.ReadUInt8(ref BssomBuffer.ReadRef(BssomBinaryPrimitives.UInt8Size));

            BssomBuffer.SeekWithOutVerify(BssomBinaryPrimitives.UInt8Size, BssomSeekOrgin.Current);
            return(val);
        }
Ejemplo n.º 2
0
        internal Int64 ReadInt64WithOutTypeHead()
        {
            var val = BssomBinaryPrimitives.ReadInt64LittleEndian(ref BssomBuffer.ReadRef(BssomBinaryPrimitives.Int64Size));

            BssomBuffer.SeekWithOutVerify(BssomBinaryPrimitives.Int64Size, BssomSeekOrgin.Current);
            return(val);
        }
Ejemplo n.º 3
0
        internal Guid ReadGuidWithOutTypeHead()
        {
            var val = BssomBinaryPrimitives.ReadGuid(ref BssomBuffer.ReadRef(BssomBinaryPrimitives.GuidSize));

            BssomBuffer.SeekWithOutVerify(BssomBinaryPrimitives.GuidSize, BssomSeekOrgin.Current);
            return(val);
        }
Ejemplo n.º 4
0
        internal Decimal ReadDecimalWithOutTypeHead()
        {
            var val = BssomBinaryPrimitives.ReadDecimal(ref BssomBuffer.ReadRef(BssomBinaryPrimitives.DecimalSize));

            BssomBuffer.SeekWithOutVerify(BssomBinaryPrimitives.DecimalSize, BssomSeekOrgin.Current);
            return(val);
        }
Ejemplo n.º 5
0
        internal Boolean ReadBooleanWithOutTypeHead()
        {
            var val = BssomBinaryPrimitives.ReadBoolean(ref BssomBuffer.ReadRef(BssomBinaryPrimitives.BooleanSize));

            BssomBuffer.SeekWithOutVerify(BssomBinaryPrimitives.BooleanSize, BssomSeekOrgin.Current);
            return(val);
        }
Ejemplo n.º 6
0
        internal Single ReadFloat32WithOutTypeHead()
        {
            var val = BssomBinaryPrimitives.ReadFloat32LittleEndian(ref BssomBuffer.ReadRef(BssomBinaryPrimitives.Float32Size));

            BssomBuffer.SeekWithOutVerify(BssomBinaryPrimitives.Float32Size, BssomSeekOrgin.Current);
            return(val);
        }
Ejemplo n.º 7
0
        internal SByte ReadInt8()
        {
            EnsureTypeWithSkipBlankCharacter(BssomType.Int8Code);
            var val = BssomBinaryPrimitives.ReadInt8(ref BssomBuffer.ReadRef(BssomBinaryPrimitives.Int8Size));

            BssomBuffer.SeekWithOutVerify(BssomBinaryPrimitives.Int8Size, BssomSeekOrgin.Current);
            return(val);
        }
Ejemplo n.º 8
0
        internal Int64 ReadInt64()
        {
            EnsureTypeWithSkipBlankCharacter(BssomType.Int64Code);
            var val = BssomBinaryPrimitives.ReadInt64LittleEndian(ref BssomBuffer.ReadRef(BssomBinaryPrimitives.Int64Size));

            BssomBuffer.SeekWithOutVerify(BssomBinaryPrimitives.Int64Size, BssomSeekOrgin.Current);
            return(val);
        }
Ejemplo n.º 9
0
        internal Guid ReadGuid()
        {
            EnsureNativeTypeWithSkipBlankCharacter(NativeBssomType.GuidCode);
            var val = BssomBinaryPrimitives.ReadGuid(ref BssomBuffer.ReadRef(BssomBinaryPrimitives.GuidSize));

            BssomBuffer.SeekWithOutVerify(BssomBinaryPrimitives.GuidSize, BssomSeekOrgin.Current);
            return(val);
        }
Ejemplo n.º 10
0
        internal Char ReadChar()
        {
            EnsureNativeTypeWithSkipBlankCharacter(NativeBssomType.CharCode);
            var val = BssomBinaryPrimitives.ReadCharLittleEndian(ref BssomBuffer.ReadRef(BssomBinaryPrimitives.CharSize));

            BssomBuffer.SeekWithOutVerify(BssomBinaryPrimitives.CharSize, BssomSeekOrgin.Current);
            return(val);
        }
Ejemplo n.º 11
0
        internal Boolean ReadBoolean()
        {
            EnsureTypeWithSkipBlankCharacter(BssomType.BooleanCode);
            var val = BssomBinaryPrimitives.ReadBoolean(ref BssomBuffer.ReadRef(BssomBinaryPrimitives.BooleanSize));

            BssomBuffer.SeekWithOutVerify(BssomBinaryPrimitives.BooleanSize, BssomSeekOrgin.Current);
            return(val);
        }
Ejemplo n.º 12
0
        internal Single ReadFloat32()
        {
            EnsureTypeWithSkipBlankCharacter(BssomType.Float32Code);
            var val = BssomBinaryPrimitives.ReadFloat32LittleEndian(ref BssomBuffer.ReadRef(BssomBinaryPrimitives.Float32Size));

            BssomBuffer.SeekWithOutVerify(BssomBinaryPrimitives.Float32Size, BssomSeekOrgin.Current);
            return(val);
        }