Handbook
Glossary
lookup-range ( char -- byte-array )
Vocabulary
io
.
encodings
.
gb18030
.
private
Inputs
char
an
object
Outputs
byte-array
an
object
Definition
USING:
accessors
interval-maps
io.encodings
kernel
math
namespaces
;
IN:
io.encodings.gb18030.private
:
lookup-range
( char -- byte-array )
dup
u>gb
get-global
interval-at
[
[
ufirst>>
-
]
[
bfirst>>
]
bi
+
unlinear
]
[
encode-error
]
if*
;