public void WriteTo(IAmqpWriter writer) { writer.WriteByte((byte)Type); writer.WriteShortInteger(Channel); writer.WriteLongInteger(Size); writer.WriteBytes(Payload); writer.WriteByte(Constants.FrameEnd); }
public void WriteTo(IAmqpWriter writer) { writer.WriteShortUnsignedInteger((ushort)ProtocolClassId); writer.WriteShortUnsignedInteger((ushort)ProtocolMethodId); }
public void WriteTo(IAmqpWriter writer) { writer.WriteBit(Nowait); }