Ejemplo n.º 1
0
        protected override byte[] GetBodyData()
        {
            ByteBuffer buffer = new ByteBuffer(64);

            buffer.Append(EncodeCString(vMessageID));
            buffer.Append(vSourceAddress.GetBytes());
            buffer.Append(vDestinationAddress.GetBytes());
            return(buffer.ToBytes());
        }
Ejemplo n.º 2
0
        protected override byte[] GetBodyData()
        {
            byte[]     sourceAddrBytes = vSourceAddress.GetBytes();
            byte[]     esmeAddresBytes = vEsmeAddress.GetBytes();
            ByteBuffer buffer          = new ByteBuffer(sourceAddrBytes.Length + esmeAddresBytes.Length);

            buffer.Append(sourceAddrBytes);
            buffer.Append(esmeAddresBytes);
            return(buffer.ToBytes());
        }