C# Class DNS.Protocol.Utils.ByteExtensions

Datei anzeigen Open project: greggman/hft-unity-gamepad

Public Methods

Method Description
GetBitValueAt ( this b, byte offset ) : byte
GetBitValueAt ( this b, byte offset, byte length ) : byte
SetBitValueAt ( this b, byte offset, byte value ) : byte
SetBitValueAt ( this b, byte offset, byte length, byte value ) : byte

Method Details

GetBitValueAt() public static method

public static GetBitValueAt ( this b, byte offset ) : byte
b this
offset byte
return byte

GetBitValueAt() public static method

public static GetBitValueAt ( this b, byte offset, byte length ) : byte
b this
offset byte
length byte
return byte

SetBitValueAt() public static method

public static SetBitValueAt ( this b, byte offset, byte value ) : byte
b this
offset byte
value byte
return byte

SetBitValueAt() public static method

public static SetBitValueAt ( this b, byte offset, byte length, byte value ) : byte
b this
offset byte
length byte
value byte
return byte