NumericArrayTag

Simple tag with array-related functions.

Constructors

this
this(T[] value)
Undocumented in source.

Members

Functions

decode
void decode(Stream stream)
Undocumented in source. Be warned that the author may not have intended to support it.
encode
void encode(Stream stream)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(Object o)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(T[] value)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(T value)
Undocumented in source. Be warned that the author may not have intended to support it.
rename
Tag rename(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
toJSON
JSONValue toJSON()
Undocumented in source. Be warned that the author may not have intended to support it.

Examples

assert(new ByteArray([2, 3, 4]).length == new IntArray([9, 0, 12]).length);

auto b = new ByteArray();
assert(b.empty);
b ~= 14;
assert(b.length == 1 && b[0] == 14);

Meta