frameSizeInBytes static method
Implementation
static List<int> frameSizeInBytes(int value) {
var byte = Uint8List(4)..buffer.asByteData().setInt32(0, value, Endian.little);
return byte.reversed.toList();
//return Uint8List(4)..buffer.asByteData().setInt32(0, value, Endian.little);
//return Uint8List(4)..buffer.asInt32List()[0] = value;
}