HasExtType() public method

public HasExtType ( ) : bool
return bool
Beispiel #1
0
        public static FormatCode ReadFormatCode(ByteBuffer buffer)
        {
            byte type    = AmqpBitConverter.ReadUByte(buffer);
            byte extType = 0;

            if (FormatCode.HasExtType(type))
            {
                extType = AmqpBitConverter.ReadUByte(buffer);
            }

            return(new FormatCode(type, extType));
        }