C# Class Prism.IO.BinBufferNativeResource

Inheritance: BinBufferResource
Afficher le fichier Open project: TerrariaPrismTeam/Prism

Méthodes publiques

Méthode Description
AsByteArray ( ) : byte[]
AsStream ( ) : Stream
BinBufferNativeResource ( IntPtr addr, bool isMallocated = false ) : System
BinBufferNativeResource ( IntPtr addr, int size, bool isMallocated = false ) : System
BinBufferNativeResource ( int size ) : System
Clear ( bool wipeData = false ) : void
Read ( byte data, int startIndex, int count ) : int
ReadByte ( ) : byte
ReadUnion ( int s ) : Union
Write ( Union v, int s ) : void
Write ( byte data, int startIndex, int count ) : void
WriteByte ( byte value ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Method Details

AsByteArray() public méthode

public AsByteArray ( ) : byte[]
Résultat byte[]

AsStream() public méthode

public AsStream ( ) : Stream
Résultat Stream

BinBufferNativeResource() public méthode

public BinBufferNativeResource ( IntPtr addr, bool isMallocated = false ) : System
addr System.IntPtr
isMallocated bool
Résultat System

BinBufferNativeResource() public méthode

public BinBufferNativeResource ( IntPtr addr, int size, bool isMallocated = false ) : System
addr System.IntPtr
size int
isMallocated bool
Résultat System

BinBufferNativeResource() public méthode

public BinBufferNativeResource ( int size ) : System
size int
Résultat System

Clear() public méthode

public Clear ( bool wipeData = false ) : void
wipeData bool
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Read() public méthode

public Read ( byte data, int startIndex, int count ) : int
data byte
startIndex int
count int
Résultat int

ReadByte() public méthode

public ReadByte ( ) : byte
Résultat byte

ReadUnion() public méthode

public ReadUnion ( int s ) : Union
s int
Résultat Union

Write() public méthode

public Write ( Union v, int s ) : void
v Union
s int
Résultat void

Write() public méthode

public Write ( byte data, int startIndex, int count ) : void
data byte
startIndex int
count int
Résultat void

WriteByte() public méthode

public WriteByte ( byte value ) : void
value byte
Résultat void