fromByteArray static method

Serializer fromByteArray(
  1. List<int> buf
)

Convenience Class to deserialize using byte array. @param buf the byte array to deserialize @return Serializer

Implementation

static Serializer fromByteArray(List<int> buf) {
  try {
    return fromByteArrayStream(ByteStream(null, buf));
  } on UnimplementedError catch (e, s) {
    print("StackTrace $s");
    rethrow;
  }
}