[TIBCO.EMS .NET client library 6.0 documentation]
Assembly: TIBCO.EMS (in TIBCO.EMS.dll)
Reads a byte array from the bytes message stream.
Namespace:
TIBCO.EMSAssembly: TIBCO.EMS (in TIBCO.EMS.dll)
Syntax
public int ReadBytes( byte[] value, int length ) |
Public Function ReadBytes ( _ value As Byte(), _ length As Integer _ ) As Integer |
public: int ReadBytes( array<unsigned char>^ value, int length ) |
Return Value
The actual number of bytes read. When the method cannot read even one byte, it returns -1.
Remarks
This method reads bytes from the stream into the byte array and advances the
read position. This method attempts to read
length bytes; otherwise it attempts to read value.length bytes.