public void SendDatablock(IAmqpSerializable dataBlock) { ByteBuffer buffer = new ByteBuffer(new byte[dataBlock.EncodeSize]); dataBlock.Encode(buffer); int size = buffer.Length; this.asyncIO.WriteBuffer(buffer); }