import * as Token from 'token-types' ; import { IGetToken } from 'strtok3/lib/core' ; import { FourCcToken } from '../common/FourCC' ; import { IChunkHeader64 } from '../iff' ; export { IChunkHeader64 } from '../iff' ; /**
 * DSDIFF chunk header
 * The data-size encoding is deviating from EA-IFF 85
 * Ref: http://www.sonicstudio.com/pdf/dsd/DSDIFF_1.5_Spec.pdf
 */ export const ChunkHeader64 = { len : 12 , get : ( buf , off ) : IChunkHeader64 => { return { chunkID : FourCcToken . get ( buf , off ) , chunkSize : Token . INT64_BE . get ( buf , off + 4 ) } ; } } ;