MaybeEncoded
No overview available.
Attributes
| Attribute | Type | Description |
|---|---|---|
| 0 | str | The raw string content which may represent either a literal value or an encoded sequence. |
| 1 | bool | A 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
| Name | Type | Description |
|---|---|---|
| value | str | The string content to be stored. |
| is_encoded | bool | A flag indicating whether the provided string is already encoded. |
Signature
def MaybeEncoded(
0: &str,
1: bool
) - > [MaybeEncoded](maybeencoded.md?sid=url_maybeencoded)
Parameters
| Name | Type | Description |
|---|---|---|
| 0 | &str | The string slice to be stored, representing the raw or encoded content. |
| 1 | bool | A flag indicating whether the provided string slice is already encoded (true) or remains in its raw form (false). |