latin1 top-level constant

Latin1Codec const latin1

An instance of the default implementation of the Latin1Codec.

This instance provides a convenient access to the most common ISO Latin 1 use cases.

Examples:

var encoded = latin1.encode("blåbærgrød");
var decoded = latin1.decode([0x62, 0x6c, 0xe5, 0x62, 0xe6,
                             0x72, 0x67, 0x72, 0xf8, 0x64]);

Implementation

const Latin1Codec latin1 = Latin1Codec();