BufferedByteStream Class

Definition

Line 59 of System.Base/BufferedByteStream.cm

Inheritance

Constructors & Destructor

suppress BufferedByteStream(const BufferedByteStream&)
public nothrow BufferedByteStream(const SharedPtr<ByteStream>& baseStream_)
public nothrow BufferedByteStream(const SharedPtr<ByteStream>& baseStream_, long bufferSize_)
public override ~BufferedByteStream()

Member Functions

public nothrow const SharedPtr<ByteStream>& ContainedStream()
private void FillBuf()
public override void Flush()
public override long Read(byte* buf, long count)
public override int ReadByte()
public override void Seek(long pos, Origin origin)
public override long Tell()
public override void Write(byte x)
public override void Write(byte* buf, long count)
suppress void operator=(const BufferedByteStream&)

Member Variables

private SharedPtr<ByteStream> baseStream
private IOBuffer buffer
private long bytesAvailable
private long end
private long pos

Constructor& Destructor Details

BufferedByteStream Constructor

suppress BufferedByteStream(const BufferedByteStream&)

Definition
Line 68 of System.Base/BufferedByteStream.cm


BufferedByteStream Constructor

public nothrow BufferedByteStream(const SharedPtr<ByteStream>& baseStream_)

Definition
Line 61 of System.Base/BufferedByteStream.cm


BufferedByteStream Constructor

public nothrow BufferedByteStream(const SharedPtr<ByteStream>& baseStream_, long bufferSize_)

Definition
Line 64 of System.Base/BufferedByteStream.cm


~BufferedByteStream Destructor

public override ~BufferedByteStream()

Definition
Line 70 of System.Base/BufferedByteStream.cm


Member Function Details

ContainedStream Member Function

public nothrow const SharedPtr<ByteStream>& ContainedStream()

Definition
Line 158 of System.Base/BufferedByteStream.cm


FillBuf Member Function

private void FillBuf()

Definition
Line 162 of System.Base/BufferedByteStream.cm


Flush Member Function

public override void Flush()

Definition
Line 138 of System.Base/BufferedByteStream.cm


Read Member Function

public override long Read(byte* buf, long count)

Definition
Line 98 of System.Base/BufferedByteStream.cm


ReadByte Member Function

public override int ReadByte()

Definition
Line 83 of System.Base/BufferedByteStream.cm


Seek Member Function

public override void Seek(long pos, Origin origin)

Definition
Line 147 of System.Base/BufferedByteStream.cm


Tell Member Function

public override long Tell()

Definition
Line 153 of System.Base/BufferedByteStream.cm


Write Member Function

public override void Write(byte x)

Definition
Line 119 of System.Base/BufferedByteStream.cm


Write Member Function

public override void Write(byte* buf, long count)

Definition
Line 127 of System.Base/BufferedByteStream.cm


operator= Member Function

suppress void operator=(const BufferedByteStream&)

Definition
Line 69 of System.Base/BufferedByteStream.cm