C# Class Neo.VM.Helper

Afficher le fichier Open project: NewEconoLab/NEL.LightDB

Méthodes publiques

Méthode Description
ReadVarBytes ( BinaryReader reader, int max = 0x10000000 ) : byte[]
ReadVarInt ( BinaryReader reader, ulong max = ulong.MaxValue ) : ulong
SafeReadBytes ( BinaryReader reader, int count ) : byte[]

Method Details

ReadVarBytes() public static méthode

public static ReadVarBytes ( BinaryReader reader, int max = 0x10000000 ) : byte[]
reader BinaryReader
max int
Résultat byte[]

ReadVarInt() public static méthode

public static ReadVarInt ( BinaryReader reader, ulong max = ulong.MaxValue ) : ulong
reader BinaryReader
max ulong
Résultat ulong

SafeReadBytes() public static méthode

public static SafeReadBytes ( BinaryReader reader, int count ) : byte[]
reader BinaryReader
count int
Résultat byte[]