pub fn validate_precision_bytes(
array: &FixedSizeBinaryArray,
field: &'static str,
) -> Result<(), EncodingError>Expand description
Validates that a [FixedSizeBinaryArray] has the expected precision byte width.
This detects precision mode mismatches that occur when catalog data was encoded with a different precision mode (64-bit standard vs 128-bit high-precision).
§Errors
Returns EncodingError::PrecisionMismatch if the actual byte width doesn’t
match [PRECISION_BYTES].