C# Class ADBaseLibrary.Matroska.MatroskaExtensions

Mostra file Open project: maxpiva/AnimeOfflineDownloader

Public Methods

Method Description
CopyBytes ( this reader, System.UInt64 length, BinaryWriter writer, HashAlgorithm algo = null ) : void
Ebml_Read_Binary ( this reader, int length, byte &bin ) : int
Ebml_Read_Float ( this reader, int size, double &num ) : int
Ebml_Read_Id ( this reader, int maxSize, ulong &number ) : int
Ebml_Read_Length ( this reader, ulong &number ) : int
Ebml_Read_Num ( this reader, int maxSize, ulong &number ) : int
Ebml_Read_Sint ( this reader, int size, long &number ) : int
Ebml_Read_String ( this reader, int size, string &str ) : int
Ebml_Read_Uint ( this reader, int size, ulong &number ) : int
Ebml_Write_Ascii_With_Id ( this writer, ulong id, string val ) : ulong
Ebml_Write_Binary_With_Id ( this writer, ulong id, byte val ) : ulong
Ebml_Write_Float_With_Id ( this writer, ulong id, double val ) : ulong
Ebml_Write_Id ( this writer, ulong id ) : void
Ebml_Write_Num ( this writer, ulong num, int length ) : void
Ebml_Write_Sint_With_Id ( this writer, ulong id, long val ) : ulong
Ebml_Write_Uint_With_Id ( this writer, ulong id, ulong val ) : ulong
Ebml_Write_Utf8_With_Id ( this writer, ulong id, string val ) : ulong
IdSize ( ulong id ) : int
NumSize ( ulong num ) : int
SintSize ( long val ) : int
UintSize ( ulong val ) : int

Private Methods

Method Description
GenIo ( string message, BinaryReader stream ) : IOException

Method Details

CopyBytes() public static method

public static CopyBytes ( this reader, System.UInt64 length, BinaryWriter writer, HashAlgorithm algo = null ) : void
reader this
length System.UInt64
writer System.IO.BinaryWriter
algo System.Security.Cryptography.HashAlgorithm
return void

Ebml_Read_Binary() public static method

public static Ebml_Read_Binary ( this reader, int length, byte &bin ) : int
reader this
length int
bin byte
return int

Ebml_Read_Float() public static method

public static Ebml_Read_Float ( this reader, int size, double &num ) : int
reader this
size int
num double
return int

Ebml_Read_Id() public static method

public static Ebml_Read_Id ( this reader, int maxSize, ulong &number ) : int
reader this
maxSize int
number ulong
return int

Ebml_Read_Length() public static method

public static Ebml_Read_Length ( this reader, ulong &number ) : int
reader this
number ulong
return int

Ebml_Read_Num() public static method

public static Ebml_Read_Num ( this reader, int maxSize, ulong &number ) : int
reader this
maxSize int
number ulong
return int

Ebml_Read_Sint() public static method

public static Ebml_Read_Sint ( this reader, int size, long &number ) : int
reader this
size int
number long
return int

Ebml_Read_String() public static method

public static Ebml_Read_String ( this reader, int size, string &str ) : int
reader this
size int
str string
return int

Ebml_Read_Uint() public static method

public static Ebml_Read_Uint ( this reader, int size, ulong &number ) : int
reader this
size int
number ulong
return int

Ebml_Write_Ascii_With_Id() public static method

public static Ebml_Write_Ascii_With_Id ( this writer, ulong id, string val ) : ulong
writer this
id ulong
val string
return ulong

Ebml_Write_Binary_With_Id() public static method

public static Ebml_Write_Binary_With_Id ( this writer, ulong id, byte val ) : ulong
writer this
id ulong
val byte
return ulong

Ebml_Write_Float_With_Id() public static method

public static Ebml_Write_Float_With_Id ( this writer, ulong id, double val ) : ulong
writer this
id ulong
val double
return ulong

Ebml_Write_Id() public static method

public static Ebml_Write_Id ( this writer, ulong id ) : void
writer this
id ulong
return void

Ebml_Write_Num() public static method

public static Ebml_Write_Num ( this writer, ulong num, int length ) : void
writer this
num ulong
length int
return void

Ebml_Write_Sint_With_Id() public static method

public static Ebml_Write_Sint_With_Id ( this writer, ulong id, long val ) : ulong
writer this
id ulong
val long
return ulong

Ebml_Write_Uint_With_Id() public static method

public static Ebml_Write_Uint_With_Id ( this writer, ulong id, ulong val ) : ulong
writer this
id ulong
val ulong
return ulong

Ebml_Write_Utf8_With_Id() public static method

public static Ebml_Write_Utf8_With_Id ( this writer, ulong id, string val ) : ulong
writer this
id ulong
val string
return ulong

IdSize() public static method

public static IdSize ( ulong id ) : int
id ulong
return int

NumSize() public static method

public static NumSize ( ulong num ) : int
num ulong
return int

SintSize() public static method

public static SintSize ( long val ) : int
val long
return int

UintSize() public static method

public static UintSize ( ulong val ) : int
val ulong
return int