Collapse All Expand All

.NET Framework Class Library
BytesMessage Class See Also

[TIBCO.EMS .NET client library 5.1 documentation]

Reads a byte array from the bytes message stream.

Namespace: TIBCO.EMS
Assembly: TIBCO.EMS (in TIBCO.EMS.dll)

# Syntax

    public int ReadBytes(
    	byte[] value
    )

    Public Function ReadBytes ( _
    	value As Byte() _
    ) As Integer

    public:
    int ReadBytes(
    	array<unsigned char>^ value
    )

#### Parameters

value
  Type: array< System..::.Byte >[]()[]

#### Return Value

The actual number of bytes read. When the call 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.

# See Also

BytesMessage Class
ReadBytes Overload
TIBCO.EMS Namespace