Module vibe.stream.memory
In-memory streams
Functions
Name | Description |
---|---|
createMemoryOutputStream(alloc)
|
|
createMemoryStream(data, writable, initial_size)
|
Creates a new stream with the given data array as its contents. |
Classes
Name | Description |
---|---|
MemoryOutputStream
|
OutputStream that collects the written data in memory and allows to query it as a byte array. |
MemoryStream
|
Provides a random access stream interface for accessing an array of bytes. |