C# Class SharpOS.Kernel.Foundation.ByteString

Afficher le fichier Open project: sharpos/SharpOS Class Usage Examples

Méthodes publiques

Méthode Description
Compare ( byte a, byte b ) : int
Compare ( byte a, byte b, int count ) : int
Compare ( byte a, int aFrom, byte b, int bFrom, int count ) : int
Compare ( byte a, int aFrom, string b, int bFrom, int count ) : int
Compare ( byte a, string b ) : int
Compare ( byte a, string b, int count ) : int
Concat ( byte buffer, int size, byte src, int count ) : void

Concatenates count bytes of the string in buffer src to the end of the string in buffer buffer.

Copy ( byte buffer, int size, byte src, int index, int count ) : void
GetBytes ( string src, byte dst, int size ) : bool
Length ( byte str ) : int
__Test1 ( ) : void

Private Methods

Méthode Description
__RunTests ( ) : void

Method Details

Compare() public static méthode

public static Compare ( byte a, byte b ) : int
a byte
b byte
Résultat int

Compare() public static méthode

public static Compare ( byte a, byte b, int count ) : int
a byte
b byte
count int
Résultat int

Compare() public static méthode

public static Compare ( byte a, int aFrom, byte b, int bFrom, int count ) : int
a byte
aFrom int
b byte
bFrom int
count int
Résultat int

Compare() public static méthode

public static Compare ( byte a, int aFrom, string b, int bFrom, int count ) : int
a byte
aFrom int
b string
bFrom int
count int
Résultat int

Compare() public static méthode

public static Compare ( byte a, string b ) : int
a byte
b string
Résultat int

Compare() public static méthode

public static Compare ( byte a, string b, int count ) : int
a byte
b string
count int
Résultat int

Concat() public static méthode

Concatenates count bytes of the string in buffer src to the end of the string in buffer buffer.
public static Concat ( byte buffer, int size, byte src, int count ) : void
buffer byte
size int
src byte
count int
Résultat void

Copy() public static méthode

public static Copy ( byte buffer, int size, byte src, int index, int count ) : void
buffer byte
size int
src byte
index int
count int
Résultat void

GetBytes() public static méthode

public static GetBytes ( string src, byte dst, int size ) : bool
src string
dst byte
size int
Résultat bool

Length() public static méthode

public static Length ( byte str ) : int
str byte
Résultat int

__Test1() public static méthode

public static __Test1 ( ) : void
Résultat void