Static methods

statictoByteArray(data:Dynamic):ByteArray

Returns a object as ByteArray, if possible.

Parameters:

data

The object to return as ByteArray

Returns:

The ByteArray or null

@:value({ length : 0 })statictoString(data:Dynamic, length:UInt = 0):String

Returns a object as String, if possible.

Parameters:

data

The object to return as String

length

The length of the returned String

Returns:

The String or null