internal static int GetFrameSize(ByteBuffer buffer) { return((int)AmqpBitConverter.PeekUInt(buffer)); }