set-port-position! with overflow value should expand buffer

Create issue
Issue #28 resolved
Takashi Kato repo owner created an issue

For output bytevector port, set-port-position! should forward the location. (expand buffer)

(import (rnrs))
(call-with-bytevector-output-port
 (lambda (out)
   (set-port-position! out 100)
   (put-bytevector out (string->utf8 "hello"))))

Comments (1)

  1. Log in to comment