public VolumeDescriptor( ISO9660Volume volume, byte[] buffer) throws IOException { this.volume = volume; init(buffer); }
public VolumeDescriptor(ISO9660Volume volume, byte[] buff) throws IOException { this.volume = volume; this.type = LittleEndian.getUInt8(buff, 0); this.standardIdentifier = new String(buff, 1, 5); this.systemIdentifier = new String(buff, 8, 31); this.volumeIdentifier = new String(buff, 40, 31); this.volumeSetIdentifier = new String(buff, 190, 127); this.numberOfLB = LittleEndian.getUInt32(buff, 80); this.volumeSetSize = LittleEndian.getUInt16(buff, 120);  this.LBSize = LittleEndian.getUInt16(buff, 128);  this.pathTableSize = (int) LittleEndian.getUInt32(buff, 132); this.locationOfTyp_L_PathTable = (int) LittleEndian .getUInt32(buff, 140); this.locationOfOptionalTyp_L_PathTable = (int) LittleEndian.getUInt32( buff, 144); this.locationOfTyp_M_PathTable = (int) BigEndian.getUInt32(buff, 148); this.locationOfOptionalTyp_M_PathTable = (int) BigEndian.getUInt32( buff, 152);  this.rootDirectoryEntry = new EntryRecord(volume, buff, 156, "US-ASCII"); }
	public VolumeDescriptor( ISO9660Volume volume, byte[] buffer) throws IOException	{		this.volume = volume;		init(buffer);	}