@spacehq/sdk > OpenUuidFileResponse > consumeStream
OpenUuidFileResponse.consumeStream property
consumeStream aggregates the stream data and returns the compounded bytes array.
Note that if the stream
has already been consumed/used once, consumeStream would return an empty bytes array.
Signature:
consumeStream: () => Promise<Uint8Array>;