Unpacked

Unpacked is a Range wrapper for stream deserialization result

Constructors

this
this(Value value)

Constructs a Unpacked with argument.

Alias This

value

Members

Functions

opIndex
Value opIndex(size_t n)

RandomAccessRange primitive operation.

opSlice
Value[] opSlice(size_t from, size_t to)

Returns a slice of the range.

popFront
void popFront()

InputRange primitive operation that advances the range to its next element.

Properties

empty
bool empty [@property getter]

InputRange primitive operation that checks iteration state.

front
Value front [@property getter]

InputRange primitive operation that returns the currently iterated element.

length
size_t length [@property getter]

Range primitive operation that returns the length of the range.

save
Unpacked save [@property getter]

Range primitive operation that returns the snapshot.

Variables

value
Value value;

deserialized value

Meta