MemoryWriter Class

Definition

Line 8 of System.Base/MemoryWriter.cm

Constructors & Destructor

public nothrow MemoryWriter(byte* ptr_, long count_)

Member Functions

public void Write(byte x)
public void Write(const DateTime& dt)
public void Write(const String<char>& s)
public void Write(int x)
public void Write(long x)
public void Write(sbyte x)
public void Write(short x)
public void Write(uint x)
public void Write(ulong x)
public void Write(ushort x)

Member Variables

private long count
private byte* pos
private byte* ptr

Constructor& Destructor Details

MemoryWriter Constructor

public nothrow MemoryWriter(byte* ptr_, long count_)

Definition
Line 10 of System.Base/MemoryWriter.cm


Member Function Details

Write Member Function

public void Write(byte x)

Definition
Line 13 of System.Base/MemoryWriter.cm


Write Member Function

public void Write(const DateTime& dt)

Definition
Line 74 of System.Base/MemoryWriter.cm


Write Member Function

public void Write(const String<char>& s)

Definition
Line 82 of System.Base/MemoryWriter.cm


Write Member Function

public void Write(int x)

Definition
Line 47 of System.Base/MemoryWriter.cm


Write Member Function

public void Write(long x)

Definition
Line 70 of System.Base/MemoryWriter.cm


Write Member Function

public void Write(sbyte x)

Definition
Line 21 of System.Base/MemoryWriter.cm


Write Member Function

public void Write(short x)

Definition
Line 32 of System.Base/MemoryWriter.cm


Write Member Function

public void Write(uint x)

Definition
Line 36 of System.Base/MemoryWriter.cm


Write Member Function

public void Write(ulong x)

Definition
Line 51 of System.Base/MemoryWriter.cm


Write Member Function

public void Write(ushort x)

Definition
Line 25 of System.Base/MemoryWriter.cm