private void updateAddressesAndSizes(final Object base, final long offset) {
            long position = offset;
            final int totalLength = Platform.getInt(base, position);
            position += 4;
            keyLength = Platform.getInt(base, position);
            position += 4;
            valueLength = totalLength - keyLength - 4;

            keyMemoryLocation.setObjAndOffset(base, position);

            position += keyLength;
            valueMemoryLocation.setObjAndOffset(base, position);
        }
Memory page containing the record. Only set if created by {@link BytesToBytesMap#iterator()}.
indexr-query-opt/src/main/java/org/apache/spark/unsafe/map/BytesToBytesMap.java