ByteStream Abstract Class

Represents a stream of bytes.

Definition

Line 15 of System.Base/ByteStream.cm

Inheritance

Constructors & Destructor

suppress ByteStream(const ByteStream&)

Member Functions

public void CopyTo(ByteStream& destination)
public void CopyTo(ByteStream& destination, long bufferSize)
public virtual void Flush()
public abstract long Read(byte* buf, long count)
public abstract int ReadByte()
public virtual void Seek(long pos, Origin origin)
public virtual long Tell()
public abstract void Write(byte x)
public abstract void Write(byte* buf, long count)
suppress void operator=(const ByteStream&)

Constructor& Destructor Details

ByteStream Constructor

suppress ByteStream(const ByteStream&)

Definition
Line 18 of System.Base/ByteStream.cm


Member Function Details

CopyTo Member Function

public void CopyTo(ByteStream& destination)

Definition
Line 37 of System.Base/ByteStream.cm


CopyTo Member Function

public void CopyTo(ByteStream& destination, long bufferSize)

Definition
Line 41 of System.Base/ByteStream.cm


Flush Member Function

public virtual void Flush()

Definition
Line 26 of System.Base/ByteStream.cm


Read Member Function

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

Definition
Line 23 of System.Base/ByteStream.cm


ReadByte Member Function

public abstract int ReadByte()

Definition
Line 22 of System.Base/ByteStream.cm


Seek Member Function

public virtual void Seek(long pos, Origin origin)

Definition
Line 29 of System.Base/ByteStream.cm


Tell Member Function

public virtual long Tell()

Definition
Line 33 of System.Base/ByteStream.cm


Write Member Function

public abstract void Write(byte x)

Definition
Line 24 of System.Base/ByteStream.cm


Write Member Function

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

Definition
Line 25 of System.Base/ByteStream.cm


operator= Member Function

suppress void operator=(const ByteStream&)

Definition
Line 19 of System.Base/ByteStream.cm