public void SendCommand(Transfer transfer, ByteBuffer payload) => Send(buffer => FrameEncoder.Encode(buffer, Channel, transfer, payload));
public void SendCommand(ushort channel, DescribedList command, FrameType type = FrameType.Amqp) => Send(buffer => FrameEncoder.Encode(buffer, type, channel, command));