DataSourceImpl.read

Read from the source. Moves the internal offset so that every call to read will return a new portion of the source.

interface DataSourceImpl
size_t
read
(
ubyte* output
,
size_t length
)

Parameters

output ubyte*

the ubyte array to write the result to

length size_t

the length of the ubyte array out

Return Value

Type: size_t

length in bytes that was actually read and put into out

Meta