libperun

Class std.io.BufferStream

Synopsis

public  class BufferStream extends IOStream, Seekable

A stream which accesses a std.io.Buffer object.

Fields

Constructors

public BufferStream();

Construct the stream, to refer to a new buffer.

public BufferStream(Buffer buffer);

Construct the stream, to refer to the specified buffer.

Methods

public void seek(long pos);

No description given

public long tell();

No description given

public void seekToEnd();

No description given

protected int readBytes(byte_t[] bytes);

No description given

protected void writeBytes(byte_t[] bytes);

No description given