C# Class Base.ByteHelper

显示文件 Open project: egametang/Egametang

Public Methods

Method Description
Reverse ( this bytes ) : byte[]
ToHex ( this b ) : string
ToHex ( this bytes, int offset, int count ) : string
ToHex ( this bytes, string format ) : string
ToStr ( this bytes ) : string
Utf8ToStr ( this bytes ) : string

Method Details

Reverse() public static method

public static Reverse ( this bytes ) : byte[]
bytes this
return byte[]

ToHex() public static method

public static ToHex ( this b ) : string
b this
return string

ToHex() public static method

public static ToHex ( this bytes, int offset, int count ) : string
bytes this
offset int
count int
return string

ToHex() public static method

public static ToHex ( this bytes, string format ) : string
bytes this
format string
return string

ToStr() public static method

public static ToStr ( this bytes ) : string
bytes this
return string

Utf8ToStr() public static method

public static Utf8ToStr ( this bytes ) : string
bytes this
return string