src/main/java/org/musicbrainz/discid/LibDiscId.java
/**
   * Provides the TOC of a known CD.
   *
   * This function may be used if the TOC has been read earlier and you
   * want to calculate the disc ID afterwards, without accessing the disc
   * drive. It replaces the discid_read function in this case.
   *
   * The offsets parameter points to an array which contains the track offsets
   * for each track. The first element, offsets[0], is the leadout track. It
   * must contain the total number of sectors on the disc.
   *
   * @param first the number of the first audio track on disc (usually one)
   * @param last the number of the last audio track on the disc
   * @param offsets a pointer to an array of 100 track offsets
   */
Provides the TOC of a known CD.
This function may be used if the TOC has been read earlier and you
want to calculate the disc ID afterwards, without accessing the disc
drive. It replaces the discid_read function in this case.

The offsets parameter points to an array which contains the track offsets
for each track. The first element, offsets[0], is the leadout track. It
must contain the total number of sectors on the disc.

@param first the number of the first audio track on disc (usually one)
@param last the number of the last audio track on the disc
@param offsets a pointer to an array of 100 track offsets
Provides the TOC of a known CD . This function may be used if the TOC has been read earlier and you want to calculate the disc ID afterwards without accessing the disc drive . It replaces the discid_read function in this case . The offsets parameter points to an array which contains the track offsets for each track . The first element offsets [ 0 ] is the leadout track . It must contain the total number of sectors on the disc . @param first the number of the first audio track on disc ( usually one ) @param last the number of the last audio track on the disc @param offsets a pointer to an array of 100 track offsets
private void put(
      int first,
      int last,
      int[] offsets) throws DiscIdException {
    if (!put(m_index, first, last, offsets))
      assertError();
  }
private void put ( int first , int last , int [ ] offsets ) throws DiscIdException { if ( ! put ( m_index , first , last , offsets ) ) assertError ( ) ; }
Provides the TOC of a known CD.
Provides the TOC of a known CD .