vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

Module vibe.stream.memory

In-memory streams

Functions

NameDescription
createMemoryOutputStream(alloc)
createMemoryStream(data, writable, initial_size) Creates a new stream with the given data array as its contents.

Classes

NameDescription
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.
Authors

Sönke Ludwig

Copyright

© 2012-2016 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.