REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 3-Aug-2010 Edit History  

REBOL 3 Functions: as-binary


Editor note: This function no longer exist in REBOL 3.

as-binary converts a string datatype to a binary datatype but without copying the contents of the string. Normally, if you use to-binary, a new string will be created.

This function is most useful if you have large strings that you need to access or modify using binary operations.

print as-binary "Testing 1...2...3"
print as-binary #ABC-def-xyz

print as-binary %test-file.txt

  TOC < Back Next > - WIP Wiki Feedback Admin