public TpsPString(RandomAccess rx, Encoding encoding) { if (rx == null) { throw new ArgumentNullException(nameof(rx)); } if (encoding == null) { throw new ArgumentNullException(nameof(encoding)); } Value = rx.PascalString(encoding); }