Beispiel #1
0
        internal Byte ReadUInt8WithOutTypeHead()
        {
            var val = BssomBinaryPrimitives.ReadUInt8(ref BssomBuffer.ReadRef(BssomBinaryPrimitives.UInt8Size));

            BssomBuffer.SeekWithOutVerify(BssomBinaryPrimitives.UInt8Size, BssomSeekOrgin.Current);
            return(val);
        }
Beispiel #2
0
        internal Byte ReadUInt8()
        {
            EnsureTypeWithSkipBlankCharacter(BssomType.UInt8Code);
            var val = BssomBinaryPrimitives.ReadUInt8(ref BssomBuffer.ReadRef(BssomBinaryPrimitives.UInt8Size));

            BssomBuffer.SeekWithOutVerify(BssomBinaryPrimitives.UInt8Size, BssomSeekOrgin.Current);
            return(val);
        }
Beispiel #3
0
        public byte                                         _k; // Do not rename

        public GuidBinaryBits(ref byte refb)
        {
            _a = BssomBinaryPrimitives.ReadInt32LittleEndian(ref refb);
            _b = BssomBinaryPrimitives.ReadInt16LittleEndian(ref Unsafe.Add(ref refb, 4));
            _c = BssomBinaryPrimitives.ReadInt16LittleEndian(ref Unsafe.Add(ref refb, 6));
            _d = BssomBinaryPrimitives.ReadUInt8(ref Unsafe.Add(ref refb, 8));
            _e = BssomBinaryPrimitives.ReadUInt8(ref Unsafe.Add(ref refb, 9));
            _f = BssomBinaryPrimitives.ReadUInt8(ref Unsafe.Add(ref refb, 10));
            _g = BssomBinaryPrimitives.ReadUInt8(ref Unsafe.Add(ref refb, 11));
            _h = BssomBinaryPrimitives.ReadUInt8(ref Unsafe.Add(ref refb, 12));
            _i = BssomBinaryPrimitives.ReadUInt8(ref Unsafe.Add(ref refb, 13));
            _j = BssomBinaryPrimitives.ReadUInt8(ref Unsafe.Add(ref refb, 14));
            _k = BssomBinaryPrimitives.ReadUInt8(ref Unsafe.Add(ref refb, 15));
        }