Handbook
Glossary
guess-decoded-length ( byte-length encoding -- string-length )
Vocabulary
io
.
encodings
Inputs
byte-length
an
object
encoding
an
object
Outputs
string-length
an
object
Definition
IN:
io.encodings
GENERIC:
guess-decoded-length
( byte-length encoding -- string-length )
Methods
USING:
io.encodings
kernel
;
M:
object
guess-decoded-length
drop
;
inline
USING:
io.encodings
io.encodings.utf16
kernel
math
;
M:
utf16be
guess-decoded-length
drop
2
/i
;
inline
USING:
io.encodings
io.encodings.utf16
kernel
math
;
M:
utf16le
guess-decoded-length
drop
2
/i
;
inline