import "io/stream";
Adds buffering to another stream.
For performance reasons it is recommended to use the type directly instead of casting it to the generic Stream class as this class statically replaces the primitive reading/writing functions.
Inherits from Stream.
static function create(parent: Stream): BufferedStream
function read_line(buf: Byte[]): Byte[]
function read_line(buf: Byte[], max_bytes: Integer): Byte[]
null
when the end of the stream is reached.
function read_null_string(): Byte[]
function read_null_string(str: Byte[]): Byte[]
function read_null_string(str: Byte[], max_bytes: Integer): Byte[]