InputStream Class extending Object

/ To be extended by all those wishing to implement their own InputStream functionality /

Class Methods

Reads one byte from this InputStream's buffer

function read() : number


Writes one byte to this InputStream's buffer so that it can be read at a later time

function put(number n) : void

To be implemented by input streams. The input streams should load the provided amount of bytes from their service into this input stream.
In short this method should fill the input stream with the given amount of bytes

function fill(number amount) : void