]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/delegate/protocols/protocols.factor
delegate.protocols: clean up input-stream-protocol
[factor.git] / basis / delegate / protocols / protocols.factor
index 9abee34aa7862e5f6af394a21c234ccfbe6d47f8..c496979dc206b599fc379a799eef88290935dc3d 100644 (file)
@@ -13,9 +13,8 @@ at* assoc-size >alist set-at assoc-clone-like
 delete-at clear-assoc new-assoc assoc-like ;
 
 PROTOCOL: input-stream-protocol
-stream-read1 stream-read stream-read-partial 
-stream-read-unsafe stream-read-partial-unsafe stream-readln
-stream-read-until ;
+stream-read1 stream-read-unsafe stream-read-partial-unsafe
+stream-readln stream-read-until stream-contents ;
 
 PROTOCOL: output-stream-protocol
 stream-flush stream-write1 stream-write stream-nl ;