MapMessage.SetBytes


Method

Declaration

void SetBytes(string name, byte[] value); 
 
void SetBytes(string name, byte[] value, int offset, int length); 

Purpose

Set a name-value pair to a byte array value.

Parameters

Parameter
Description
name
Set the pair with this name.
value
Associate bytes from this byte array as the value of the name.
offset
Begin with the byte at this offset within the byte array.
length
Write this number of bytes from the byte array.

Remarks

When the program supplies offset and length arguments, the call extracts the specified bytes and uses them as the value; otherwise it uses the entire byte array.

When present, the offset and length arguments must be between zero and value.length (inclusive), and their sum must also fall within the same range. That is, these two arguments must specify a span of bytes within the value argument. Otherwise the call throws an System.IndexOutOfRangeException (and does not set any value).

See Also

MapMessage—Set


TIBCO Enterprise Message Service™ .NET Reference
System Release 4.3, February 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com