On this page:
get-bytes
Version: 4.2.1

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.