! See http://factorcode.org/license.txt for BSD license
USING: accessors alien.c-types alien.data byte-arrays checksums
-grouping io.binary kernel literals math math.bitwise math.order
-sequences sequences.generalizations sequences.private
-specialized-arrays ;
-SPECIALIZED-ARRAY: uint64_t
+endian grouping kernel math math.bitwise
+sequences sequences.generalizations sequences.private ;
IN: checksums.wyhash
<PRIVATE
:: native-mapper ( from to bytes c-type -- seq )
from to bytes <slice>
- bytes byte-array? little-endian? and
+ bytes byte-array? alien.data:little-endian? and
[ c-type cast-array ]
[ c-type heap-size <groups> [ le> ] map ] if ; inline