copy method

  1. @override
SharedPointerMapped<T> copy()
override

Creates a copy of this instance.

Implementation

@override
SharedPointerMapped<T> copy() {
  return SharedPointerMapped.fromAddress(
      allocatedBytesLength, bytesPerValue, writer, reader, address);
}