C# Class LazerTagHostLibrary.LazerTagString

Mostra file Open project: astrospark/LazerTagHost Class Usage Examples

Public Methods

Method Description
GetBytes ( int maxLength, bool addPadding = false, bool addNullTerminator = false ) : byte[]
GetSignatures ( int maxLength, bool addPadding = false, bool addNullTerminator = false ) : System.Signature[]
IsEmpty ( ) : bool
LazerTagString ( IList signatures ) : System
LazerTagString ( byte text ) : System
LazerTagString ( string text = "" ) : System
ToString ( ) : string

Private Methods

Method Description
BytesToString ( byte inputBytes ) : string
Sanitize ( string text ) : string
StringToBytes ( string inputString, int maxLength, bool addPadding, bool addNullTerminator ) : byte[]

Method Details

GetBytes() public method

public GetBytes ( int maxLength, bool addPadding = false, bool addNullTerminator = false ) : byte[]
maxLength int
addPadding bool
addNullTerminator bool
return byte[]

GetSignatures() public method

public GetSignatures ( int maxLength, bool addPadding = false, bool addNullTerminator = false ) : System.Signature[]
maxLength int
addPadding bool
addNullTerminator bool
return System.Signature[]

IsEmpty() public method

public IsEmpty ( ) : bool
return bool

LazerTagString() public method

public LazerTagString ( IList signatures ) : System
signatures IList
return System

LazerTagString() public method

public LazerTagString ( byte text ) : System
text byte
return System

LazerTagString() public method

public LazerTagString ( string text = "" ) : System
text string
return System

ToString() public method

public ToString ( ) : string
return string