read onlywrite onlylength:Int
The length of the stream in bytes.
read onlywrite onlyposition:Int
The current position in the stream in bytes.
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.
Read and len bytes as a string.