io.streams.byte-array: implement stream-tell for byte-vector.

windows-high-dpi
John Benediktsson 2018-02-19 09:46:18 -08:00
parent 435ce60165
commit 6073e211ee
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@ IN: io.streams.byte-array
INSTANCE: byte-vector output-stream INSTANCE: byte-vector output-stream
M: byte-vector stream-element-type drop +byte+ ; inline M: byte-vector stream-element-type drop +byte+ ; inline
M: byte-vector stream-tell length ; inline
: <byte-writer> ( encoding -- stream ) : <byte-writer> ( encoding -- stream )
512 <byte-vector> swap <encoder> ; inline 512 <byte-vector> swap <encoder> ; inline