docs: private static void updateLengthAndBytes(MessageDigest digest, ByteBuffer binaryValue) {
          ByteBuffer readOnlyBuffer = binaryValue.asReadOnlyBuffer();
          int size = readOnlyBuffer.remaining();
          ByteBuffer lengthBytes = ByteBuffer.allocate(INTEGER_SIZE_IN_BYTES).putInt(size);
          digest.update(lengthBytes.array());
          digest.update(readOnlyBuffer);
      }