protected int readByte() { /* * removed at 1.7.0 * if(simulated) { * return simulatedInts[simulatedCount ++]; * } else { */ if (capturingInertialBG) { return((int)EncoderCaptureInertialBackgroundStatic.GetNext()); } else { if (simulated) { return(simulateByte()); } else { return(sp.ReadByte()); } } //} }
protected int readByte() { if (simulated) { return(simulatedInts[simulatedCount++]); } else { if (capturingInertialBG) { return(EncoderCaptureInertialBackgroundStatic.GetNext()); } else { return(sp.ReadByte()); } } }