Skip to content

FastString 0.1.2 — FastUTF Utilities & Robust Encoding

Latest

Choose a tag to compare

@andrestubbe andrestubbe released this 18 Oct 23:03

FastString 0.1.2 Release Notes

  • \ aststring.FastUTF\ Utility Class:
    • Memory- and hardware-optimized UTF-8 encoder/decoder eliminating JVM/OS default codepage (Windows-1252 ANSI) corruption hazards.
    • \FastUTF.toBytes(CharSequence): Reliable UTF-8 encoding with static zero-allocation \EMPTY_BYTES\ fallback.
    • \FastUTF.toString(byte[])\ & \FastUTF.toString(byte[], offset, length): Null- and range-safe UTF-8 string decoding.
    • \FastUTF.stripBom(byte[]): Automatic detection and removal of leading UTF-8 Byte Order Marks (\