writeValue method

  1. @override
void writeValue(
  1. ByteLayer data, {
  2. int depth = -1,
})
override

Implementation

@override
void writeValue(ByteLayer data, {int depth = -1}) {
  data.writeInt(value.length);
  for (int i in value) {
    data.writeInt(i);
  }
}