Next: , Previous: , Up: objects   [Index]


13.20 Transcoder objects

A transcoder is a machine word tagged to make it of a disjoint type. The transcoder data (codec, EOL style, error handling) is encoded in the most significant bits of this word:

|---------------------------|------------| transcoder
       payload bits          transcoder-tag

the payload of this word is an 8-bit vector whose format is as follows:

765 432 10
 |   |   |
 |   |    -- error handling mode
 |    ------ end of line style
  ---------- codec

See the source code in the file ikarus.codecs.sls for more details.