Continued implementation: encoding to bytes of core classes
Refactored List<int> to Uint8List of dart:typed_data. From now on,
Uint8List will be used for all byte arrays.