composeHistory static method
DC
composeHistory(
- KeyList<
PropertyTemplate, List< history,PropertyValue> > - DistributedConnection connection, [
- bool prependLength = false
Implementation
static DC composeHistory(
KeyList<PropertyTemplate, List<PropertyValue>> history,
DistributedConnection connection,
[bool prependLength = false]) {
var rt = new BinaryList();
for (var i = 0; i < history.length; i++)
rt
..addUint8(history.keys.elementAt(i).index)
..addDC(composePropertyValueArray(
history.values.elementAt(i), connection, true));
if (prependLength) rt.insertInt32(0, rt.length);
return rt.toDC();
}