text: public BoolErrRecord(RecordInputStream in1): base(in1){switch (in1.Remaining){case 2:_value = in1.ReadByte();break;case 3:_value = in1.ReadUShort();break;default:throw new RecordFormatException("Unexpected size ("+ in1.Remaining + ") for BOOLERR record.");}int flag = in1.ReadUByte();switch (flag){case 0:_isError = false;break;case 1:_isError = true;break;default:throw new RecordFormatException("Unexpected isError flag ("+ flag + ") for BOOLERR record.");}}