Variant
blob-data
Binary data that can be provided as bytes or stream
Streaming blobs is useful for large binary content (images, audio, etc.) that shouldn't be buffered entirely in memory.
variant blob-data {
blob(list<u8>),
blob-stream(input-stream),
}Cases
| Case | Payload | Description |
|---|---|---|
| blob | list<u8> | Inline binary content |
| blob-stream | input-stream | Streamed binary content |