writeValue method

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

Implementation

@override
void writeValue(ByteLayer data, {int depth = -1}) {
  Iterator<Tag> it = value.values.iterator;

  while (it.moveNext()) {
    Tag tag = it.current;
    Tag.writeNamedTag(tag, data, depth: depth + 1);
  }

  data.writeByte(TagType.End.byte);
}