/// <summary> /// VCR_ReadNext /// </summary> private void ReadNext() { try { _Next = Sys.ReadStructure <VcrRecord>(Host.VcrReader.BaseStream); } catch (IOException) { _Next = new VcrRecord(); _Next.op = 255; Sys.Error("=== END OF PLAYBACK===\n"); } if (_Next.op < 1 || _Next.op > VcrOp.VCR_MAX_MESSAGE) { Sys.Error("VCR_ReadNext: bad op"); } }
public void Init() { _Next = Sys.ReadStructure <VcrRecord>(Host.VcrReader.BaseStream); _IsInitialized = true; }