C# Class AlphaTab.IO.ByteBuffer

Inheritance: IWriteable, IReadable
Afficher le fichier Open project: CoderLine/alphaTab Class Usage Examples

Méthodes publiques

Méthode Description
Empty ( ) : ByteBuffer
FromBuffer ( byte data ) : ByteBuffer
GetBuffer ( ) : byte[]
Read ( byte buffer, int offset, int count ) : int
ReadAll ( ) : byte[]
ReadByte ( ) : int
Reset ( ) : void
Skip ( int offset ) : void
ToArray ( ) : byte[]
WithCapactiy ( int capacity ) : ByteBuffer
Write ( byte buffer, int offset, int count ) : void
WriteByte ( byte value ) : void

Private Methods

Méthode Description
ByteBuffer ( ) : System
EnsureCapacity ( int value ) : void
SetCapacity ( int value ) : void

Method Details

Empty() public static méthode

public static Empty ( ) : ByteBuffer
Résultat ByteBuffer

FromBuffer() public static méthode

public static FromBuffer ( byte data ) : ByteBuffer
data byte
Résultat ByteBuffer

GetBuffer() public méthode

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

Read() public méthode

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Résultat int

ReadAll() public méthode

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

ReadByte() public méthode

public ReadByte ( ) : int
Résultat int

Reset() public méthode

public Reset ( ) : void
Résultat void

Skip() public méthode

public Skip ( int offset ) : void
offset int
Résultat void

ToArray() public méthode

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

WithCapactiy() public static méthode

public static WithCapactiy ( int capacity ) : ByteBuffer
capacity int
Résultat ByteBuffer

Write() public méthode

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Résultat void

WriteByte() public méthode

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