check-length ( bytes n -- bytes n )


Vocabulary
io.binary.fast

Definition
USING: kernel math sequences ;

IN: io.binary.fast

: check-length ( bytes n -- bytes n )
2dup [ length ] dip > [ bad-length ] when ; inline