On 2015-10-07 03:04, Sungjin Chun wrote:
> [...]
> In Common Lisp, I can make a stream on byte array and can write
> values on them, in Scheme, I think the equivalent stuff is port and
> I'd like to write values on byte array using port.
> [...]

Hello,

it sounds like you are looking for something like
call-with-output-string. The resulting string can be converted with
string->blob, blob->u8vector, ...

Ciao,
Thomas


-- 
When C++ is your hammer, every problem looks like your thumb.

_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to