C# Class Library.Unsafe

Show file Open project: Alliance-Network/Library

Public Methods

Method Description
And ( byte source1, byte source2, byte destination ) : void
And ( byte source1, int source1Index, byte source2, int source2Index, byte destination, int destinationIndex, int length ) : void
Compare ( byte source1, byte source2 ) : int
Compare ( byte source1, int source1Index, byte source2, int source2Index, int length ) : int
Copy ( byte source, int sourceIndex, byte destination, int destinationIndex, int length ) : void
Equals ( byte source1, byte source2 ) : bool
Equals ( byte source1, int source1Index, byte source2, int source2Index, int length ) : bool
Equals ( object obj1, object obj2 ) : bool
Or ( byte source1, byte source2, byte destination ) : void
Or ( byte source1, int source1Index, byte source2, int source2Index, byte destination, int destinationIndex, int length ) : void
Xor ( byte source1, byte source2, byte destination ) : void
Xor ( byte source1, int source1Index, byte source2, int source2Index, byte destination, int destinationIndex, int length ) : void
Zero ( byte source ) : void
Zero ( byte source, int index, int length ) : void

Private Methods

Method Description
BitwiseOperation ( BitwiseOperationDelegate bitwiseOperation, byte source1, byte source2, byte destination ) : void
BitwiseOperation ( BitwiseOperationDelegate bitwiseOperation, byte source1, int source1Index, byte source2, int source2Index, byte destination, int destinationIndex, int length ) : void
Unsafe ( ) : System

Method Details

And() public static method

public static And ( byte source1, byte source2, byte destination ) : void
source1 byte
source2 byte
destination byte
return void

And() public static method

public static And ( byte source1, int source1Index, byte source2, int source2Index, byte destination, int destinationIndex, int length ) : void
source1 byte
source1Index int
source2 byte
source2Index int
destination byte
destinationIndex int
length int
return void

Compare() public static method

public static Compare ( byte source1, byte source2 ) : int
source1 byte
source2 byte
return int

Compare() public static method

public static Compare ( byte source1, int source1Index, byte source2, int source2Index, int length ) : int
source1 byte
source1Index int
source2 byte
source2Index int
length int
return int

Copy() public static method

public static Copy ( byte source, int sourceIndex, byte destination, int destinationIndex, int length ) : void
source byte
sourceIndex int
destination byte
destinationIndex int
length int
return void

Equals() public static method

public static Equals ( byte source1, byte source2 ) : bool
source1 byte
source2 byte
return bool

Equals() public static method

public static Equals ( byte source1, int source1Index, byte source2, int source2Index, int length ) : bool
source1 byte
source1Index int
source2 byte
source2Index int
length int
return bool

Equals() public static method

public static Equals ( object obj1, object obj2 ) : bool
obj1 object
obj2 object
return bool

Or() public static method

public static Or ( byte source1, byte source2, byte destination ) : void
source1 byte
source2 byte
destination byte
return void

Or() public static method

public static Or ( byte source1, int source1Index, byte source2, int source2Index, byte destination, int destinationIndex, int length ) : void
source1 byte
source1Index int
source2 byte
source2Index int
destination byte
destinationIndex int
length int
return void

Xor() public static method

public static Xor ( byte source1, byte source2, byte destination ) : void
source1 byte
source2 byte
destination byte
return void

Xor() public static method

public static Xor ( byte source1, int source1Index, byte source2, int source2Index, byte destination, int destinationIndex, int length ) : void
source1 byte
source1Index int
source2 byte
source2Index int
destination byte
destinationIndex int
length int
return void

Zero() public static method

public static Zero ( byte source ) : void
source byte
return void

Zero() public static method

public static Zero ( byte source, int index, int length ) : void
source byte
index int
length int
return void