Do codec

angerangel edited this page Jan 3, 2013 · 1 revision
Clone this wiki locally

Table of Contents

USAGE

  DO-CODEC handle action data

DESCRIPTION

Evaluate a CODEC function to encode or decode media types. DO-CODEC is a native value.

ARGUMENTS

  • handle -- Internal link to codec (handle!)
  • action -- Decode, encode, identify (word!)
  • data (binary! image!)

SOURCE

do-codec: make native! [  [
    {Evaluate a CODEC function to encode or decode media types.}
    handle [handle!] "Internal link to codec"
    action [word!] "Decode, encode, identify"
    data [binary! image!]
] ]