Libraries anvil lang binary decodeFrom

string decodeFrom(string encoding)
Decodes this binary to string using given character encoding, throws IOError if binary cannot be mapped
string decodeFrom(string encoding, string replacement)
Decodes this binary to string using given character encoding, unmappable characters are replaced with given string
string decodeFrom(string encoding, null ignore)
Decodes this binary to string using given character encoding, unmappable characters are ignored.
Throws BadParameter -  if given character encoding is unsupported, or replacement is invalid
IOError -  if some bytes are unmappable and no replacement given