Constructor

Inherited Variables

Defined by BytesInput

read onlywrite onlylength:Int

The length of the stream in bytes.

read onlywrite onlyposition:Int

The current position in the stream in bytes.

Inherited Methods

Defined by BytesInput

Defined by Input

readFullBytes(s:Bytes, pos:Int, len:Int):Void

Read len bytes and write them into s to the position specified by pos.

Unlike readBytes, this method tries to read the exact len amount of bytes.

readString(len:Int):String

Read and len bytes as a string.