Skip to content

ProtoString fromBinary() Method

Seth Clydesdale edited this page May 23, 2015 · 2 revisions

<< Back to Conversion Methods

Example

Decoding a Binary encoded text string.

'1001000 1100101 1101100 1101100 1101111'.fromBinary(); // returns 'Hello'

Description

The fromBinary() method was used to decode all binary encoded characters in a string. This method was dropped, so it's recommended to use decodeAs() instead.

Syntax

String.fromBinary();

Information

You can find the source for the old conversion methods here.

Clone this wiki locally