Skip to content
angerangel edited this page Mar 20, 2013 · 1 revision

USAGE

   TRANSCODE source /next /only /error

DESCRIPTION

Translates UTF-8 binary source to values. Returns [value binary].

TRANSCODE is a native value.

ARGUMENTS

  • source -- Must be Unicode UTF-8 encoded (binary!)

REFINEMENTS

  • /next -- Translate next complete value (blocks as single value)
  • /only -- Translate only a single value (blocks dissected)
  • /error -- Do not cause errors - return error object as value in place

#SOURCE

transcode: make native! [  [
    {Translates UTF-8 binary source to values. Returns [value binary].}
    source [binary!] "Must be Unicode UTF-8 encoded"
    /next {Translate next complete value (blocks as single value)}
    /only "Translate only a single value (blocks dissected)"
    /error {Do not cause errors - return error object as value in place}
] ]
Clone this wiki locally