Skip to main content

MaybeEncoded

No overview available.

Attributes

AttributeTypeDescription
0strThe raw string content which may represent either a literal value or an encoded sequence.
1boolA boolean flag indicating whether the associated string has already undergone encoding.

Constructor

Signature

def MaybeEncoded(
value: str,
is_encoded: bool
) - > [MaybeEncoded](maybeencoded.md?sid=url_maybeencoded)

Parameters

NameTypeDescription
valuestrThe string content to be stored.
is_encodedboolA flag indicating whether the provided string is already encoded.

Signature

def MaybeEncoded(
0: &str,
1: bool
) - > [MaybeEncoded](maybeencoded.md?sid=url_maybeencoded)

Parameters

NameTypeDescription
0&strThe string slice to be stored, representing the raw or encoded content.
1boolA flag indicating whether the provided string slice is already encoded (true) or remains in its raw form (false).