C# Class Deveel.Data.Util.BytesUtil

Afficher le fichier Open project: deveel/deveeldb

Méthodes publiques

Méthode 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 méthode

public static ReadInt4 ( byte arr, int offset ) : int
arr byte
offset int
Résultat int

ReadInt8() public static méthode

public static ReadInt8 ( byte arr, int offset ) : long
arr byte
offset int
Résultat long

URShift() public static méthode

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.
Résultat int

WriteInt8() public static méthode

public static WriteInt8 ( long value, byte arr, int offset ) : void
value long
arr byte
offset int
Résultat void