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