Root / Assembly / ARCCore / Class / PropertyStreamLine / _Member / DecodeStringFromPropertyStreamFormat

ClassMemberAttribute

DecodeStringFromPropertyStreamFormat

KeyValue
DescriptionDecodes string as encoded by EncodeKeyPartStringToPropertyStreamFormat or EncodeValuePartStringToPropertyStreamFormat.


NOTE: Takes up a significant amount of processing time, for instance when called by TryParse

TODO: A smarter encoding has great potential for quicker decoding. For instance a prefix in a PropertyStreamLine
TODO: hinting about level of encoding necessary. Like '_' indicating no special encoding for instance.
TODO: In general AgoRapide application will read the property stream much more frequent than writing to it.

Note how the decoder is common, used for both the key-part and the value-part of the PropertyStreamLine.
Note that when the value-part constitutes of multiple items (WholeCollection), it is actually decoded twice, first by TryParse for the value-part as a whole, and then again by the parser created by ModifyCleanerAndValidatorAndParserForCardinality.

Note that fails silently if any errors are encountered (like 0x not followed by 'oooo' or a valid 4-digit hex number (but attempts to return meaningful data in all cases).
MethodNameDecodeStringFromPropertyStreamFormat
MethodSignatureSystem.String DecodeStringFromPropertyStreamFormat(System.String)
ReflectedTypeARCCore.PropertyStreamLine

4 items


Generated 2020-10-13 11:11:05.060 UTC