Skip to content

Version 1.2.0

Latest

Choose a tag to compare

@StormBytePP StormBytePP released this 17 Sep 09:59
· 1 commit to master since this release

[Summary]

StormByte Base is the C++26 foundation of the StormByte suite.

Every other module links this library.
This repository is not Buffer, Config, Crypto, Database, Logger, Multimedia, Network or System — those live in their own repos and depend on Base.

Public headers under StormByte/ cover exceptions, Expected, little-endian Serializable, strings, paths, UUID v4, bitmasks, clonable types, ThreadLock, and StormByte::Type concepts.

If you landed here from a release link and have not read the tree:

  • What this module is, how to build it, and short examples: README.md
  • License: GNU Lesser General Public License version 3 or later, LICENSE

Added

  • String helpers that only read the input now take std::string_view /
    std::wstring_view: IsNumeric, ToLower, ToUpper, Explode, Split,
    UTF8Encode, UTF8Decode, SanitizeNewlines, ToByteVector,
    RemoveWhitespace, IsInteger. std::string, std::wstring and
    literals convert to the views.
  • Base64Decode(std::string_view) replaces Base64Decode(const std::string&).

Changed

  • SanitizeNewlines no longer builds a throwaway copy and a std::regex;
    it walks the view and maps \r\n to \n.