default int writeToRecord(int recordId,
                            @NotNull ByteBufferWriter writer,
                            int expectedRecordSizeHint) throws IOException {
    return writeToRecord(recordId, writer, expectedRecordSizeHint, /* leaveRedirectOnRecordRelocation: */ false);
  }
default int writeToRecord(int recordId,
                            @NotNull ByteBufferWriter writer,
                            int expectedRecordSizeHint)