1 write to Value
System.Private.Windows.Core (1)
Windows.Win32.PSTR.g.cs (1)
29
internal PSTR(byte* value) => this.
Value
= value;
11 references to Value
System.Private.Windows.Core (11)
Windows.Win32.PSTR.g.cs (11)
35
public static implicit operator byte*(PSTR value) => value.
Value
;
39
public static bool operator ==(PSTR left, PSTR right) => left.
Value
== right.
Value
;
43
public bool Equals(PSTR other) => this.
Value
== other.
Value
;
47
public override int GetHashCode() => unchecked((int)this.
Value
);
51
public override string ToString() => new PCSTR(this.
Value
).ToString();
53
public static implicit operator PCSTR(PSTR value) => new PCSTR(value.
Value
);
57
internal int Length => new PCSTR(this.
Value
).Length;
63
internal Span<byte> AsSpan() => this.
Value
is null ? default(Span<byte>) : new Span<byte>(this.
Value
, this.Length);