Handbook
Glossary
utf16le
UTF-16 encoding
Prev:
utf16
Next:
utf16be
Vocabulary
io
.
encodings
.
utf16
Class description
The encoding descriptor for UTF-16LE, that is, UTF-16 in little endian, without a byte order mark. Streams can be made which read or write wth this encoding.
See also
An introduction to encodings
See also
utf16
,
utf16be
,
utf16n
Definition
IN:
io.encodings.utf16
SINGLETON:
utf16le
Methods
USING:
io
io.encodings
io.encodings.utf16
io.encodings.utf16.private
kernel
;
M:
utf16le
decode-char
drop
dup
stream-read1
dup
[
begin-utf16le
]
when
nip
;
USING:
io.encodings
io.encodings.utf16
io.encodings.utf16.private
kernel
;
M:
utf16le
encode-char
drop
char>utf16le
;
USING:
io.encodings
io.encodings.utf16
io.encodings.utf16.private
kernel
;
M:
utf16le
encode-string
drop
encode-string-utf16le
;
USING:
io.encodings
io.encodings.utf16
kernel
math
;
M:
utf16le
guess-decoded-length
drop
2
/i
;
inline
USING:
io.encodings
io.encodings.utf16
kernel
math
;
M:
utf16le
guess-encoded-length
drop
2
*
;
inline