SmartSockets .NET Class Library

TipcSvc.createMsg Method (SByte[], Int32, Int32, Int32, Int32)

Creates a new message by deserializing the contents of a byte array.

public static TipcMsg createMsg(
   sbyte[] buf,
   int offset,
   int endian,
   int realFormat,
   int charFormat
);

Parameters

buf
a byte array containing the message to be deserialized
offset
index into buf indicating the start of the message
endian
INT_BIG_ENDIAN or INT_LITTLE_ENDIAN from TipcDefs.
realFormat
REAL_IEEE, REAL_DEC_D, REAL_DEC_G, REAL_370 from TipcDefs
charFormat
must be CHAR_US_ASCII from TipcDefs

Exceptions

Exception TypeCondition
TipcMsgException If there is an error deserializing the message
TipcException For all other errors

See Also

TipcSvc Class | TipcSvc Members | TIBCO.SMARTSOCKETS Namespace | TipcSvc.createMsg Overload List | TipcMsg | TipcDefs


Copyright © TIBCO Software Inc. All rights reserved