code: @Implementation(minSdk = M)
    protected void writeBlob(byte[] b, int offset, int len) {
      if (b == null) {
        realObject.writeInt(-1);
        return;
      }
      throwsIfOutOfBounds(b.length, offset, len);
      long nativePtr = ReflectionHelpers.getField(realObject, "mNativePtr");
      nativeWriteBlob(nativePtr, b, offset, len);
    }
docs: non-existent-in-JDK java.util.Arrays.checkOffsetAndCount method.