string or ByteArray.
return string value if true.
any
string or ByteArray or false. pack failed if false.
string or ByteArray or undefined. unpack failed if undefined.