Show / Hide Table of Contents

DefaultLowerCase Property

DefaultLowerCase

Indicates the default case of characters for this encoding.

C#
protected override bool DefaultLowerCase { get; }

Property Value

Type Description
bool

Overrides

Base16.DefaultLowerCase

Remarks

This is used when decoding data to check for characters that are in an unexpected case. To match nibbles (4-bit values) to a character, we must change the case of the character to match what's expected. For example, the reference string for ModHex is cbdefghijklnrtuv. If we receive a 16-bit value in ModHex that looks like CCCB, then the matching algorithm needs to know to change each character as it is being evaluated to cccb.

In this article
Back to top Generated by DocFX