@Override
	public Object getValue(MemBuffer buf, Settings settings, int length) {
		byte[] data = new byte[length];
		if (buf.getBytes(data, 0) != length) {
			Msg.error(this, "AIFF-Sound error: Not enough bytes in memory");
			return null;
		}
		return new AudioPlayer(data);
	}
Byte search mask for magic bytes
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/AIFFDataType.java