encode static method

Uint8List encode(
  1. List<Object> simpleObjs
)

Implementation

static Uint8List encode(List<Object> simpleObjs) {
  Iterable<String> jsons = objsToJsons(simpleObjs);
  List<Uint8List> chunks = jsonsToUint8Lists(jsons);
  Uint8List encoded = concatUint8Lists(chunks);
  return encoded;
}