C# Class PeerCastStation.MKV.VInt

Afficher le fichier Open project: kumaryu/peercaststation Class Usage Examples

Méthodes publiques

Méthode Description
BinaryEquals ( byte bin ) : bool
ReadUInt ( Stream s ) : VInt
ReadUIntAsync ( Stream s, CancellationToken cancel_token ) : Task
VInt ( long value, byte binary ) : System

Private Methods

Méthode Description
CheckLength ( int v ) : int

Method Details

BinaryEquals() public méthode

public BinaryEquals ( byte bin ) : bool
bin byte
Résultat bool

ReadUInt() public static méthode

public static ReadUInt ( Stream s ) : VInt
s Stream
Résultat VInt

ReadUIntAsync() public static méthode

public static ReadUIntAsync ( Stream s, CancellationToken cancel_token ) : Task
s Stream
cancel_token System.Threading.CancellationToken
Résultat Task

VInt() public méthode

public VInt ( long value, byte binary ) : System
value long
binary byte
Résultat System