-
Couldn't load subscription status.
- Fork 0
ProtoString toBinary() Method
Seth Clydesdale edited this page May 23, 2015
·
2 revisions
Encoding each character in a text string as its Binary counterpart.
'Hello'.toBinary(); // returns '1001000 1100101 1101100 1101100 1101111'The toBinary() method was used to encode all characters in a string as its Binary counterpart. This method was dropped, so it's recommended to use encodeAs() instead.
String.toBinary();You can find the source for the old conversion methods here.
Home • History • ProtoString • Created by Seth Clydesdale