code: private void writeToc(ByteBuffer dataFileBuffer, TocType tocType, int entryCount,
              int firstEntryOffset) {
          dataFileBuffer.putInt(tocType.identifier);
          dataFileBuffer.putInt(entryCount);
          dataFileBuffer.putLong(firstEntryOffset);
      }
docs: Writes out a PCP MMV table-of-contents block.
  
  @param dataFileBuffer
  ByteBuffer positioned at the correct offset in the file for the block
  @param tocType
  the type of TOC block to write
  @param entryCount
  the number of blocks of type tocType to be found in the file
  @param firstEntryOffset
  the offset of the first tocType block, relative to start of the file