Handbook
Glossary
check-count-bounds ( n stream -- n stream )
Vocabulary
io
.
streams
.
limited
.
private
Inputs
n
an
object
stream
an
object
Outputs
n
an
object
stream
an
object
Definition
USING:
accessors
io.streams.limited
kernel
math
;
IN:
io.streams.limited.private
:
check-count-bounds
( n stream -- n stream )
dup
[
count>>
]
[
limit>>
]
bi
>
[
limit-exceeded
]
when
;