public TapeDataBlock(byte[] rawdata, ref int pointer) { int start = pointer; tAPBlock = new TAPBlock(rawdata, ref pointer); blockLength = pointer - start; }
public StandardSpeedDataBlock(byte[] rawdata, ref int pointer) { int start = pointer; pauseLength = rawdata[pointer++] | (rawdata[pointer++] << 8); tAPBlock = new TAPBlock(rawdata, ref pointer); blockLength = pointer - start; }
public PureDataBlock(byte[] rawdata, ref int pointer) { int start = pointer; zeroLength = rawdata[pointer++] | (rawdata[pointer++] << 8); oneLength = rawdata[pointer++] | (rawdata[pointer++] << 8); usedBits = rawdata[pointer++]; if (usedBits != 8) { Console.WriteLine(); } pauseLength = rawdata[pointer++] | (rawdata[pointer++] << 8); tAPBlock = new TAPBlock(rawdata, ref pointer, true); blockLength = pointer - start; }
public PureTone(byte[] rawdata, ref int pointer) { pulseLength = (rawdata[pointer++] | (rawdata[pointer++] << 8)); numberOfPulses = (rawdata[pointer++] | (rawdata[pointer++] << 8)); tAPBlock = new TAPBlock(); }