C# Class Prism.IO.BinBufferByteResource

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

Méthodes publiques

Méthode Description
AsByteArray ( ) : byte[]
AsStream ( ) : Stream
BinBufferByteResource ( ) : System
BinBufferByteResource ( byte data, bool copy = true, bool startAtEnd = false ) : System
BinBufferByteResource ( int initialCapacity ) : System
Clear ( bool wipeData = false ) : void
Read ( byte data, int startIndex, int count ) : int
ReadByte ( ) : byte
ReadUnion ( int s ) : Union
ResizeBuffer ( int requiredLength ) : void
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

Private Methods

Méthode Description
FastLog2 ( int n ) : int

Method Details

AsByteArray() public méthode

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

AsStream() public méthode

public AsStream ( ) : Stream
Résultat Stream

BinBufferByteResource() public méthode

public BinBufferByteResource ( ) : System
Résultat System

BinBufferByteResource() public méthode

public BinBufferByteResource ( byte data, bool copy = true, bool startAtEnd = false ) : System
data byte
copy bool
startAtEnd bool
Résultat System

BinBufferByteResource() public méthode

public BinBufferByteResource ( int initialCapacity ) : System
initialCapacity 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

ResizeBuffer() public méthode

public ResizeBuffer ( int requiredLength ) : void
requiredLength int
Résultat void

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