C# Class winmaped2.Helper

Mostra file Open project: Bananattack/verge3

Public Methods

Method Description
BytesToFileString ( byte ba ) : string
BytesToString ( byte ba ) : string
BytesToWords ( byte ba ) : ushort[]
CharsToString ( char ca ) : string
GetRelativePath ( string root, string fname ) : string
StringFromBytePool ( byte ba, int offset ) : string
StringToByteArray ( string s ) : byte[]
StringToPaddedByteArray ( string s, int maxlength ) : byte[]
WordsToBytes ( ushort wa ) : byte[]

Method Details

BytesToFileString() public static method

public static BytesToFileString ( byte ba ) : string
ba byte
return string

BytesToString() public static method

public static BytesToString ( byte ba ) : string
ba byte
return string

BytesToWords() public static method

public static BytesToWords ( byte ba ) : ushort[]
ba byte
return ushort[]

CharsToString() public static method

public static CharsToString ( char ca ) : string
ca char
return string

GetRelativePath() public static method

public static GetRelativePath ( string root, string fname ) : string
root string
fname string
return string

StringFromBytePool() public static method

public static StringFromBytePool ( byte ba, int offset ) : string
ba byte
offset int
return string

StringToByteArray() public static method

public static StringToByteArray ( string s ) : byte[]
s string
return byte[]

StringToPaddedByteArray() public static method

public static StringToPaddedByteArray ( string s, int maxlength ) : byte[]
s string
maxlength int
return byte[]

WordsToBytes() public static method

public static WordsToBytes ( ushort wa ) : byte[]
wa ushort
return byte[]