Stream.length

Sets the length of the stream's data.

  1. size_t length [@property setter]
    class Stream
    abstract @property
    void
    length
    (
    size_t size
    )
  2. size_t length [@property getter]

Parameters

size size_t

The size to set the stream's length to.

Throws

StreamException if the stream does not support this function. StreamDisposedException if the stream has been disposed of.

Meta