public TesString(TesBytes value) { if (value[value.Count() - 1] == 0x00) { isNullTerminated = true; } this.Value = value.ToString(); }