Construct a memory source that reads from a string
Construct a memory source that reads from a ubyte array
Construct a memory source that reads from a referenced vector
Construct a memory source that reads from a vector
Construct a memory source that reads from a vector*
Read from the source. Moves the internal offset so that every call to read will return a new portion of the source.
Read from the source but do not modify the internal offset. Consecutive calls to peek() will return portions of the source starting at the same position.
Test whether the source still has data that can be read.
return the id of this data source
Read one ubyte.
Peek at one ubyte.
Discard the next N bytes of the data
This class represents a Memory-Based DataSource