Class MemoryStream

Provides a random access stream interface for accessing an array of bytes.

Inherits from

Constructors

Name Description
this Creates a new stream with the given data array as its contents.

Properties

Name Type Description
peekWindow - Controls the maximum size of the array returned by peek().
empty bool
leastSize ulong
dataAvailableForRead bool
size ulong
readable bool
writable bool

Methods

Name Description
seek
tell
peek
read
write
flush
finalize
write
write [inherited] Writes an array of chars to the stream.
put [inherited] These methods provide an output range interface.

Authors

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

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