An NDoc Documented Class Library

IBytesMessage.WriteBytes Method (Byte[], Int32, Int32)

Writes a byte array to the bytes message stream.

void WriteBytes(
   byte[] value,
   int offset,
   int length
);

Parameters

value
The byte array to be written.
offset
The offset into the byte array.
length
The number of bytes to write.

Exceptions

Exception Type Condition
MsgException Thrown when the write fails.
MessageNotWriteableException Thrown when the message is read-only.

See Also

IBytesMessage Interface | webMethods.Msg Namespace | IBytesMessage.WriteBytes Overload List