@Override
  public long position() {
    return position;
  }
Returns this channel's position.

<p>
This method violates the contract of {@link SeekableByteChannel#position()} as it will not throw any exception when
invoked on a closed channel. Instead it will return the position the channel had when close has been called.
</p>
planetiler-core/src/main/java/com/onthegomap/planetiler/util/SeekableInMemoryByteChannel.java