- decode-term DECODERprocedure
- encode-term TERM #!optional PORTprocedure
Terms are a datatype with the variants term-int, term-bytes, term-bytes-indef, term-string, term-string-indef, term-list, term-list-indef, term-map, term-map-indef (pairs as (key . value)), term-tagged, term-bool, term-null, term-undefined, term-simple, term-half, term-float and term-double. Terms keep float widths and indefinite lengths, so re-encoding a decoded term gives back the original bytes whenever they were in preferred form.