diff --git a/core/io/io.factor b/core/io/io.factor index a4b93f3f82..8e34839e12 100644 --- a/core/io/io.factor +++ b/core/io/io.factor @@ -9,8 +9,10 @@ SYMBOLS: +byte+ +character+ ; GENERIC: stream-element-type ( stream -- type ) GENERIC: stream-read1 ( stream -- elt ) +GENERIC: stream-read-unsafe ( n buf stream -- n' ) GENERIC: stream-read ( n stream -- seq ) GENERIC: stream-read-until ( seps stream -- seq sep/f ) +GENERIC: stream-read-partial-unsafe ( n buf stream -- n' ) GENERIC: stream-read-partial ( n stream -- seq ) GENERIC: stream-readln ( stream -- str/f )