isoBoxesToBytes function
Write a list of boxes to bytes.
Implementation
Future<Uint8List> isoBoxesToBytes(List<ISOBox> boxes) async {
final bb = BytesBuilder();
for (final box in boxes) {
bb.add(await box.toBytes());
}
return bb.toBytes();
}