aggregateBytes static method
Implementation
static Uint8List aggregateBytes(List<ClientMessage> messages) {
final buffer = ByteDataWriter();
for (final cm in messages) {
cm.applyToBuffer(buffer);
}
return buffer.toBytes();
}
static Uint8List aggregateBytes(List<ClientMessage> messages) {
final buffer = ByteDataWriter();
for (final cm in messages) {
cm.applyToBuffer(buffer);
}
return buffer.toBytes();
}