private static void putPaddingChunk(int remainsToPad,
                                        @NotNull ByteBuffer pageBuffer,
                                        int chunkOffsetInBuffer,
                                        long chunkOffsetInFile) {
      LogChunkImpl chunk = new LogChunkImpl(
        chunkOffsetInFile,
        pageBuffer,
        chunkOffsetInBuffer,
        remainsToPad,
        /* isPadding: */ true,
        /* hasNextChunkIdField: */ false
      );
      chunk.writeHeaderInitial();
    }
private static void putPaddingChunk(int remainsToPad,
                                        @NotNull ByteBuffer pageBuffer,
                                        int chunkOffsetInBuffer,
                                        long chunkOffsetInFile)