decodeMarkdown(from:)
Decodes a value from the provided decoder.
Declaration
static func decodeMarkdown(from decoder: any Decoder) throws -> Self.ValueParameters
- decoder:
The decoder to read data from.
Return Value
The decoded value.
Discussion
This method throws an error if reading from the decoder fails, or if the data read is corrupted or otherwise invalid.