6.3.90.900
Fast-convert: fast and easy conversion from bytes to string
(require fast-convert) | package: fast-convert |
Produces convert table for given charset. Charset name is the same, that may be used for
bytes-open-converter.
syntax
(gen-tables id ...)
Binds convert tables for charsets, whose names are the names of ids, to ids
As an example,
(gen-tables cp437 cp866)
defines convert tables for codepages cp437 and cp866 and binds them to ids cp437
and cp866.
procedure
table : convert-table? bstr : bytes?
Converts bstr with charset defined by table to string.
procedure
(convert-table? object) → boolean?
object : any/c
Tests whether the object is convert table.
procedure
(convert-table-name table) → string?
table : convert-table?
Returns charset name for table.