Release 10.1A: OpenEdge Development:
Messaging and ESB

> ## readBytesToRaw procedure

> Returns `byte` array data from the body of a `StreamMessage`.

> #### 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, 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, readBytesToRaw procedure, 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" section.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095