On this page:
get-bytes
Inherited methods:
from editor-stream-out-base%
bad?
seek
tell
write
write-bytes

An editor-stream-out-bytes-base% object can be used to write editor data into a byte string.

Creates an empty stream.

(send an-editor-stream-out-bytes-base get-bytes)  bytes?
Returns the current contents of the stream.