RepeatedBuffer

Repeated buffers can store multiple values

They also support Packed data for primitives, which is a more efficient encoding method.

Constructors

this
this(ValueType[] val)

Create a Buffer

Alias This

opGet

Members

Functions

clean
void clean()

Clears the stored values

deserialize
void deserialize(long msgdata, ubyte[] data)

Deserialize data into a buffer

length
size_t length()
Undocumented in source. Be warned that the author may not have intended to support it.
opAssign
deprecated auto opAssign(ValueType[] val)
Undocumented in source. Be warned that the author may not have intended to support it.
opAssign
auto opAssign(ValueType[] val)
Undocumented in source. Be warned that the author may not have intended to support it.
opGet
deprecated ValueType[] opGet()
Undocumented in source. Be warned that the author may not have intended to support it.
opGet
ValueType[] opGet()
Undocumented in source. Be warned that the author may not have intended to support it.
opSlice
inout(RepeatedBuffer) opSlice(size_t i, size_t j)
Undocumented in source. Be warned that the author may not have intended to support it.
save
inout(RepeatedBuffer) save()
Undocumented in source. Be warned that the author may not have intended to support it.
serialize
ubyte[] serialize()

Serialize the buffer

Parameters

id

The numeric ID for the message

TypeString

The encoding type of the data

RealType

The type the data is stored as internally

isDeprecated

Deprecates the accessors if true

packed

The default value for the internal storage

Meta