code: public int writeTo(RingByteBuffer ring) throws IOException
      {
          return writeTo((srcs, offset, length)->ring.fill(srcs, offset, length), writeToSplitter);
      }
docs: Write this buffers content from mark (included) to position (excluded).
  Returns count of actual written items.
  @param ring
  @return
  @throws java.io.IOException