Returns byte array data from the body of a StreamMessage or a BytesMessage.

Syntax

FUNCTION readBytesToRaw RETURNS RAW.

Applies to

Message objects

Notes

  • It can be called in read-only mode to return the next byte segment in a BytesMessage.
  • The size of all the byte segments other than the last one is 8192; the size of the last one is 8192 or less.

See also

createStreamMessage procedure, getContentType, writeBoolean procedure, writeByte procedure, writeBytesFromRaw procedure, writeChar procedure, writeDate procedure, writeDateTime procedure, writeDateTime-TZ procedure, writeDouble procedure, writeFloat procedure, writeInt procedure, writeLong procedure, writeLongString procedure, writeShort procedure, writeString procedure, endOfStream function, moveToNext procedure, #rfi1387308610867, readChar function, readDate function, readDateTime function, readDateTime-TZ function, readDecimal function, readInt function, readLogical function, readLongString function, readLongStringCP function

For more information, see the StreamMessage and the BytesMessage.