Jump to content

Rebol Programming/as-binary

From Wikibooks, open books for an open world

USAGE:

[edit | edit source]
AS-BINARY string 

DESCRIPTION:

[edit | edit source]

Coerces any type of string into a binary! datatype without copying it.

AS-BINARY is a native value.

ARGUMENTS

[edit | edit source]
  • string -- (Type: any-string)

SOURCE CODE

[edit | edit source]
as-binary: native[
    {Coerces any type of string into a binary! datatype without copying it.} 
    string [any-string!]
]