toMutableBytes method
Returns a mutable encoding of this value.
Implementation
List<int> toMutableBytes() {
final capacity = encodeSelfCapacity();
final writer = new RawWriter.withCapacity(capacity);
encodeSelf(writer);
return writer.toUint8ListView();
}