Expand description
§UMICP Utilities
Utility functions for UMICP operations.
Functions§
- base64_
decode - Base64 decode data
- base64_
encode - Base64 encode data
- compare_
versions - Compare versions
- format_
bytes - Convert bytes to human readable format
- format_
duration - Get elapsed time in human readable format
- generate_
hash - Generate SHA-256 hash of data
- generate_
uuid - Generate a new UUID v4
- get_
current_ timestamp - Get current timestamp in ISO 8601 format
- is_
ascii_ only - Check if string contains only ASCII characters
- parse_
timestamp - Parse timestamp from ISO 8601 format
- parse_
version - Parse version string
- sanitize_
string - Sanitize string for safe usage
- truncate_
string - Truncate string to maximum length
- validate_
index - Validate that an index is within bounds
- validate_
non_ empty - Validate that a string is not empty
- validate_
positive - Validate that a number is positive
- validate_
uuid - Validate UUID format