Handbook
Glossary
ascii> ( string -- byte-array )
Vocabulary
io
.
encodings
.
ascii
.
private
Inputs
string
an
object
Outputs
byte-array
an
object
Definition
IN:
io.encodings.ascii.private
GENERIC:
ascii>
( string -- byte-array )
Methods
USING:
io.encodings
io.encodings.ascii.private
kernel
math
sequences
;
M:
object
ascii>
[
dup
127
<=
[
encode-error
]
unless
]
B{
}
map-as
;
inline
USING:
accessors
generic
io.encodings.ascii.private
io.encodings.private
kernel
strings
;
M:
string
ascii>
dup
aux>>
[
M\
string
ascii>
(call-next-method)
]
[
string>byte-array-fast
]
if
;
inline