@Override public long read(RandomAccessFile in, long ptr, long chunkSize) throws IOException { this.setPtr(ptr); this.setChunkSize(chunkSize); long bytesRead = 0L; // Read RIFF format this.setFormat(RcRiffFile.readAscii(in, RcRiffHeaderChunk.FORMAT_LENGTH)); bytesRead += RcRiffHeaderChunk.FORMAT_LENGTH; //System.out.println("\tFormat: " + this.getFormat()); return bytesRead; }
this.labelText = RcRiffFile.readAscii(in, 256);