Handbook
Glossary
native-mapper ( from to bytes c-type -- seq )
Vocabulary
checksums
.
metrohash
.
private
Inputs
from
an
object
to
an
object
bytes
an
object
c-type
an
object
Outputs
seq
an
object
Definition
USING:
alien.c-types
alien.data
byte-arrays
endian
grouping
kernel
sequences
;
IN:
checksums.metrohash.private
::
native-mapper
( from to bytes c-type -- seq )
from to bytes
<slice>
bytes
byte-array?
little-endian?
and
[
c-type
cast-array
]
[
c-type
heap-size
<groups>
[
le>
]
map
]
if
;
inline