private static void assertBigHeaderIsValid(@NotNull ByteBuffer buffer,
                                               int entryStartOffset,
                                               byte firstByte) {
      assert buffer.limit() >= entryStartOffset + BIG_HEADER_SIZE
        : "Invalid record(@" + entryStartOffset + ") format: " +
          "header[0](=" + Integer.toBinaryString(firstByte) + " -> big record) but there is no header[1..5] bytes. " +
          "buffer[pos: " + buffer.position() + ", lim: " + buffer.limit() + "]:  " + IOUtil.toHexString(buffer);
    }
private static void assertBigHeaderIsValid(@NotNull ByteBuffer buffer,
                                               int entryStartOffset,
                                               byte firstByte)