MemoryByteStream Class

Definition

Line 11 of System.Base/MemoryByteStream.cm

Inheritance

Constructors & Destructor

public MemoryByteStream()
public MemoryByteStream(byte* data, long count)
suppress MemoryByteStream(const MemoryByteStream&)

Member Functions

public inline nothrow long Count() const
public inline nothrow const byte* Data() const
public override long Read(byte* buf, long count)
public override int ReadByte()
public inline nothrow long ReadPos() const
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 MemoryByteStream&)

Member Variables

private List<byte> content
private long readPos

Constructor& Destructor Details

MemoryByteStream Constructor

public MemoryByteStream()

Definition
Line 13 of System.Base/MemoryByteStream.cm


MemoryByteStream Constructor

public MemoryByteStream(byte* data, long count)

Definition
Line 16 of System.Base/MemoryByteStream.cm


MemoryByteStream Constructor

suppress MemoryByteStream(const MemoryByteStream&)

Definition
Line 20 of System.Base/MemoryByteStream.cm


Member Function Details

Count Member Function

public inline nothrow long Count()

Definition
Line 28 of System.Base/MemoryByteStream.cm


Data Member Function

public inline nothrow const byte* Data()

Definition
Line 24 of System.Base/MemoryByteStream.cm


Read Member Function

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

Definition
Line 44 of System.Base/MemoryByteStream.cm


ReadByte Member Function

public override int ReadByte()

Definition
Line 36 of System.Base/MemoryByteStream.cm


ReadPos Member Function

public inline nothrow long ReadPos()

Definition
Line 32 of System.Base/MemoryByteStream.cm


Seek Member Function

public override void Seek(long pos, Origin origin)

Definition
Line 68 of System.Base/MemoryByteStream.cm


Tell Member Function

public override long Tell()

Definition
Line 77 of System.Base/MemoryByteStream.cm


Write Member Function

public override void Write(byte x)

Definition
Line 56 of System.Base/MemoryByteStream.cm


Write Member Function

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

Definition
Line 60 of System.Base/MemoryByteStream.cm


operator= Member Function

suppress void operator=(const MemoryByteStream&)

Definition
Line 21 of System.Base/MemoryByteStream.cm