docs: public byte[] resetMark() {
      mark = -1;
  
      if (bufferContainDataAfterMark) {
        byte[] data = Arrays.copyOfRange(buf, initialPacketPos(), pos);
        startPacket(0);
        bufferContainDataAfterMark = false;
        return data;
      }
      return null;
    }