sizeParse25
SizeParse25 is a size parsing utility designed to convert human-readable data size expressions into a fixed internal representation. It is named for its design constraint of limiting the input token to 25 characters and is part of the fictional SizeParse family used in the DataFormatX toolkit. The function is designed to be language-agnostic and suitable for configuration parsing, command-line tools, and data-transfer utilities.
SizeParse25 accepts numeric values with optional decimal fractions and an optional unit suffix. Supported units include
Internally, sizeParse25 converts the input to an unsigned 32-bit byte quantity, rounding the fractional part to
Typical output is a structure containing the computed value in bytes and an indicator of exactness. Examples:
SizeParse25 is used in configuration loaders, data-transfer utilities, and log parsers where predictable, byte-aligned sizes are