C# Class Deveel.Data.Util.BytesUtil

Mostrar archivo Open project: deveel/deveeldb

Public Methods

Method Description
ReadInt4 ( byte arr, int offset ) : int
ReadInt8 ( byte arr, int offset ) : long
URShift ( int number, int bits ) : int

Operates a shift on the given integer by the number of bits specified.

WriteInt8 ( long value, byte arr, int offset ) : void

Method Details

ReadInt4() public static method

public static ReadInt4 ( byte arr, int offset ) : int
arr byte
offset int
return int

ReadInt8() public static method

public static ReadInt8 ( byte arr, int offset ) : long
arr byte
offset int
return long

URShift() public static method

Operates a shift on the given integer by the number of bits specified.
public static URShift ( int number, int bits ) : int
number int The number to shift.
bits int The number of bits to shift the given number.
return int

WriteInt8() public static method

public static WriteInt8 ( long value, byte arr, int offset ) : void
value long
arr byte
offset int
return void