back to Table of Contents


ReadBufRawData$ (function)

This function will return the requested amount of subsequent bytes, ie. it reads data from the specified buffer starting at the current buffer position and continuing until the requested amount of bytes was read or until the buffer end, whichever case is first. The function will return the data as is, hence including all control chars. The operation is in that very similar to GET when reading from files.

The current buffer position is updated accordingly and is on the first byte behind the just read data after the call. Hence, sequential reading is easily possible with subsequent calls. You may use EndOfBuf() to check, whether the buffer end is reached or not.


SYNTAX:

rawData$ = ReadBufRawData$ (buf$(), size&)

INPUTS:

buf$() (STRING array)

size& (LONG)


RESULT:

rawData$ (STRING)


NOTES:


back to Table of Contents