Struct SignatureReader
Reader for D-Bus signatures.
public ref struct SignatureReader
- Inherited Members
Constructors
SignatureReader(ReadOnlySpan<byte>)
Initializes a new instance of the SignatureReader.
public SignatureReader(ReadOnlySpan<byte> signature)
Parameters
signatureReadOnlySpan<byte>The signature bytes to read.
Properties
Signature
Gets the remaining signature bytes.
public ReadOnlySpan<byte> Signature { get; }
Property Value
Methods
TryRead(out DBusType, out ReadOnlySpan<byte>)
Tries to read the next type from the signature.
public bool TryRead(out DBusType type, out ReadOnlySpan<byte> innerSignature)
Parameters
typeDBusTypeThe D-Bus type that was read.
innerSignatureReadOnlySpan<byte>For container types, the inner signature.
Returns
- bool
True if a type was read; otherwise, false.