wcharstring.h
// Copyright (c) 1999-2018 David Muse
// See the COPYING file for more information.
#ifndef RUDIMENTS_WCHARSTRING_H
#define RUDIMENTS_WCHARSTRING_H
#include <rudiments/private/wcharstringincludes.h>
class RUDIMENTS_DLLSPEC wcharstring {
public:
static size_t length(const wchar_t *string);
static size_t size(const wchar_t *string);
static bool isNullOrEmpty(const wchar_t *string);
static bool isYes(const wchar_t *string);
static bool isNo(const wchar_t *string);
static void zero(wchar_t *str, size_t len);
static wchar_t *append(wchar_t *dest, const wchar_t *source);
static wchar_t *append(wchar_t *dest, const wchar_t *source,
size_t size);
static wchar_t *append(wchar_t *dest, int64_t number);
static wchar_t *append(wchar_t *dest, uint64_t number);
static wchar_t *append(wchar_t *dest, double number);
static wchar_t *append(wchar_t *dest, double number,
uint16_t scale);
static wchar_t *append(wchar_t *dest, double number,
uint16_t precision,
uint16_t scale);
static wchar_t *copy(wchar_t *dest, const wchar_t *source);
static wchar_t *copy(wchar_t *dest,
const wchar_t *source, size_t size);
static wchar_t *copy(wchar_t *dest, size_t location,
const wchar_t *source);
static wchar_t *copy(wchar_t *dest, size_t location,
const wchar_t *source, size_t size);
static wchar_t *safeCopy(wchar_t *dest, size_t destlen,
const wchar_t *source);
static wchar_t *safeCopy(wchar_t *dest,
size_t destlen,
const wchar_t *source,
size_t sourcesize);
static int32_t compare(const wchar_t *str1,
const wchar_t *str2);
static int32_t compare(const wchar_t *str1,
const wchar_t *str2,
size_t size);
static int32_t compareIgnoringCase(const wchar_t *str1,
const wchar_t *str2);
static int32_t compareIgnoringCase(const wchar_t *str1,
const wchar_t *str2,
size_t size);
static bool inSet(const wchar_t *str,
const wchar_t * const *set);
static bool inSetIgnoringCase(const wchar_t *str,
const wchar_t * const *set);
static bool contains(const wchar_t *haystack,
const wchar_t *needle);
static bool containsIgnoringCase(const wchar_t *haystack,
const wchar_t *needle);
static bool contains(const wchar_t *haystack,
wchar_t needle);
static bool containsIgnoringCase(const wchar_t *haystack,
wchar_t needle);
static bool startsWith(const wchar_t *haystack,
const wchar_t *needle);
static bool endsWith(const wchar_t *haystack,
const wchar_t *needle);
static const wchar_t *findFirst(const wchar_t *haystack,
const wchar_t *needle);
static const wchar_t *findFirstIgnoringCase(
const wchar_t *haystack,
const wchar_t *needle);
static const wchar_t *findFirst(const wchar_t *haystack,
wchar_t needle);
static const wchar_t *findFirstIgnoringCase(
const wchar_t *haystack,
wchar_t needle);
static const wchar_t *findFirstOrEnd(const wchar_t *haystack,
const wchar_t *needle);
static const wchar_t *findFirstOrEndIgnoringCase(
const wchar_t *haystack,
const wchar_t *needle);
static const wchar_t *findFirstOrEnd(const wchar_t *haystack,
wchar_t needle);
static const wchar_t *findFirstOrEndIgnoringCase(
const wchar_t *haystack,
wchar_t needle);
static const wchar_t *findLast(const wchar_t *haystack,
const wchar_t *needle);
static const wchar_t *findLast(const wchar_t *haystack,
wchar_t needle);
static wchar_t *findFirst(wchar_t *haystack,
const wchar_t *needle);
static wchar_t *findFirstIgnoringCase(wchar_t *haystack,
const wchar_t *needle);
static wchar_t *findFirst(wchar_t *haystack, wchar_t needle);
static wchar_t *findFirstIgnoringCase(wchar_t *haystack,
wchar_t needle);
static wchar_t *findFirstOrEnd(wchar_t *haystack,
const wchar_t *needle);
static wchar_t *findFirstOrEndIgnoringCase(wchar_t *haystack,
const wchar_t *needle);
static wchar_t *findLast(wchar_t *haystack,
const wchar_t *needle);
static const wchar_t *findLastIgnoringCase(
const wchar_t *haystack,
const wchar_t *needle);
static wchar_t *findLast(wchar_t *haystack, wchar_t needle);
static const wchar_t *findLastIgnoringCase(
const wchar_t *haystack,
wchar_t needle);
static const wchar_t *findFirstOfSet(const wchar_t *haystack,
const wchar_t *set);
static wchar_t *findFirstOfSet(wchar_t *haystack,
const wchar_t *set);
static const wchar_t *findFirstOfSetOrEnd(
const wchar_t *haystack,
const wchar_t *set);
static wchar_t *findFirstOfSetOrEnd(
wchar_t *haystack,
const wchar_t *set);
static const wchar_t *findLastOfSet(const wchar_t *haystack,
const wchar_t *set);
static wchar_t *findLastOfSet(wchar_t *haystack,
const wchar_t *set);
static const wchar_t *findLastOfSetOrEnd(
const wchar_t *haystack,
const wchar_t *set);
static wchar_t *findLastOfSetOrEnd(
wchar_t *haystack,
const wchar_t *set);
static wchar_t *before(const wchar_t *str,
const wchar_t *delimiter);
static wchar_t *between(const wchar_t *str,
const wchar_t *start,
const wchar_t *end);
static wchar_t *after(const wchar_t *str,
const wchar_t *delimiter);
static size_t lengthContainingSet(const wchar_t *haystack,
const wchar_t *set);
static size_t lengthNotContainingSet(const wchar_t *haystack,
const wchar_t *set);
static wchar_t *duplicate(const wchar_t *str);
static wchar_t *duplicate(const char *str, size_t len);
static wchar_t *duplicate(const char *str);
static wchar_t *duplicate(const wchar_t *str, size_t len);
static void upper(wchar_t *str);
static void lower(wchar_t *str);
static void capitalize(wchar_t *str);
static void rightTrim(wchar_t *str);
static void rightTrim(wchar_t *str, wchar_t character);
static void leftTrim(wchar_t *str);
static void leftTrim(wchar_t *str, wchar_t character);
static void bothTrim(wchar_t *str);
static void bothTrim(wchar_t *str, wchar_t character);
static bool strip(wchar_t *str, wchar_t character);
static bool strip(wchar_t *str1, const wchar_t *str2);
static bool stripSet(wchar_t *str1, const wchar_t *set);
static void replace(wchar_t *str,
wchar_t oldchar,
wchar_t newchar);
static void replace(wchar_t *str,
const wchar_t *oldchars,
wchar_t newchar);
static wchar_t *replace(const wchar_t *str,
const wchar_t *oldstr,
const wchar_t *newstr);
static wchar_t *replace(const wchar_t *str,
const wchar_t * const *oldstrset,
ssize_t *oldstrlen,
const wchar_t * const *newstrset);
static uint16_t integerLength(int16_t number);
static uint16_t integerLength(int32_t number);
static uint16_t integerLength(int64_t number);
static uint16_t integerLength(uint16_t number);
static uint16_t integerLength(uint32_t number);
static uint16_t integerLength(uint64_t number);
static bool isInteger(const wchar_t *val);
static bool isInteger(const wchar_t *val, int32_t size);
static bool isNumber(const wchar_t *val);
static bool isNumber(const wchar_t *val, int32_t size);
static wchar_t *parseNumber(int16_t number);
static wchar_t *parseNumber(uint16_t number);
static wchar_t *parseNumber(int16_t number,
uint16_t zeropadding);
static wchar_t *parseNumber(uint16_t number,
uint16_t zeropadding);
static wchar_t *parseNumber(int32_t number);
static wchar_t *parseNumber(uint32_t number);
static wchar_t *parseNumber(int32_t number,
uint16_t zeropadding);
static wchar_t *parseNumber(uint32_t number,
uint16_t zeropadding);
static wchar_t *parseNumber(int64_t number);
static wchar_t *parseNumber(uint64_t number);
static wchar_t *parseNumber(int64_t number,
uint16_t zeropadding);
static wchar_t *parseNumber(uint64_t number,
uint16_t zeropadding);
static wchar_t *parseNumber(float number);
static wchar_t *parseNumber(float number,
uint16_t scale);
static wchar_t *parseNumber(float number,
uint16_t precision,
uint16_t scale);
static wchar_t *parseNumber(double number);
static wchar_t *parseNumber(double number,
uint16_t scale);
static wchar_t *parseNumber(double number,
uint16_t precision,
uint16_t scale);
static wchar_t *parseNumber(long double number);
static wchar_t *parseNumber(long double number,
uint16_t scale);
static wchar_t *parseNumber(long double number,
uint16_t precision,
uint16_t scale);
static int64_t toInteger(const wchar_t *string);
static int64_t toInteger(const wchar_t *string,
const wchar_t **endptr);
static int64_t toInteger(const wchar_t *string, int32_t base);
static int64_t toInteger(const wchar_t *string,
const wchar_t **endptr,
int32_t base);
static uint64_t toUnsignedInteger(
const wchar_t *string);
static uint64_t toUnsignedInteger(const wchar_t *string,
const wchar_t **endptr);
static uint64_t toUnsignedInteger(const wchar_t *string,
int32_t base);
static uint64_t toUnsignedInteger(const wchar_t *string,
const wchar_t **endptr,
int32_t base);
static long double toFloat(const wchar_t *string);
static long double toFloatC(const wchar_t *string);
static long double toFloat(const wchar_t *string,
const wchar_t **endptr);
static int64_t convertAmount(const wchar_t *amount);
static wchar_t *convertAmount(int64_t amount);
static wchar_t *convertAmount(int64_t amount,
uint16_t padding);
static wchar_t *escape(const wchar_t *input,
const wchar_t *characters);
static wchar_t *unescape(const wchar_t *input);
static void escape(const wchar_t *input, uint64_t inputsize,
wchar_t **output, uint64_t *outputsize,
const wchar_t *characters);
static void unescape(const wchar_t *input,
uint64_t inputsize,
wchar_t **output,
uint64_t *outputsize);
static void leftJustify(wchar_t *str, int32_t len);
static void rightJustify(wchar_t *str, int32_t len);
static void center(wchar_t *str, int32_t len);
static wchar_t *pad(const wchar_t *string,
wchar_t padchar,
int16_t direction,
uint64_t totallength);
static void split(const wchar_t *string,
ssize_t stringlength,
const wchar_t *delimiter,
ssize_t delimiterlength,
bool collapse,
wchar_t ***list,
uint64_t *listlength);
static void split(const wchar_t *string,
const wchar_t *delimiter,
ssize_t delimiterlength,
bool collapse,
wchar_t ***list,
uint64_t *listlength);
static void split(const wchar_t *string,
ssize_t stringlength,
const wchar_t *delimiter,
bool collapse,
wchar_t ***list,
uint64_t *listlength);
static void split(const wchar_t *string,
const wchar_t *delimiter,
bool collapse,
wchar_t ***list,
uint64_t *listlength);
static wchar_t *subString(const wchar_t *str,
size_t start, size_t end);
static wchar_t *subString(const wchar_t *str, size_t start);
static wchar_t *insertString(const wchar_t *dest,
const wchar_t *src,
uint64_t index);
static ssize_t printf(wchar_t *buffer, size_t len,
const wchar_t *format, ...);
static ssize_t printf(wchar_t *buffer, size_t len,
const wchar_t *format,
va_list *argp);
static ssize_t printf(wchar_t **buffer,
const wchar_t *format, ...);
static ssize_t printf(wchar_t **buffer,
const wchar_t *format,
va_list *argp);
#include <rudiments/private/wcharstring.h>
};
#endif
character
Definition: character.h:11
input
Definition: input.h:9
output
Definition: output.h:9
wcharstring
Definition: wcharstring.h:17
wcharstring::parseNumber
static wchar_t * parseNumber(int32_t number, uint16_t zeropadding)
wcharstring::parseNumber
static wchar_t * parseNumber(int64_t number, uint16_t zeropadding)
wcharstring::lower
static void lower(wchar_t *str)
wcharstring::parseNumber
static wchar_t * parseNumber(double number, uint16_t precision, uint16_t scale)
wcharstring::duplicate
static wchar_t * duplicate(const wchar_t *str, size_t len)
wcharstring::convertAmount
static wchar_t * convertAmount(int64_t amount, uint16_t padding)
wcharstring::replace
static wchar_t * replace(const wchar_t *str, const wchar_t *oldstr, const wchar_t *newstr)
wcharstring::compareIgnoringCase
static int32_t compareIgnoringCase(const wchar_t *str1, const wchar_t *str2, size_t size)
wcharstring::center
static void center(wchar_t *str, int32_t len)
wcharstring::isYes
static bool isYes(const wchar_t *string)
wcharstring::toUnsignedInteger
static uint64_t toUnsignedInteger(const wchar_t *string, const wchar_t **endptr)
wcharstring::parseNumber
static wchar_t * parseNumber(long double number)
wcharstring::rightJustify
static void rightJustify(wchar_t *str, int32_t len)
wcharstring::compare
static int32_t compare(const wchar_t *str1, const wchar_t *str2, size_t size)
wcharstring::unescape
static wchar_t * unescape(const wchar_t *input)
wcharstring::findFirst
static const wchar_t * findFirst(const wchar_t *haystack, const wchar_t *needle)
wcharstring::parseNumber
static wchar_t * parseNumber(long double number, uint16_t precision, uint16_t scale)
wcharstring::findFirstIgnoringCase
static const wchar_t * findFirstIgnoringCase(const wchar_t *haystack, const wchar_t *needle)
wcharstring::split
static void split(const wchar_t *string, const wchar_t *delimiter, bool collapse, wchar_t ***list, uint64_t *listlength)
wcharstring::parseNumber
static wchar_t * parseNumber(int32_t number)
wcharstring::findFirstOfSetOrEnd
static const wchar_t * findFirstOfSetOrEnd(const wchar_t *haystack, const wchar_t *set)
wcharstring::findFirstOrEnd
static const wchar_t * findFirstOrEnd(const wchar_t *haystack, const wchar_t *needle)
wcharstring::integerLength
static uint16_t integerLength(uint32_t number)
wcharstring::findFirstIgnoringCase
static wchar_t * findFirstIgnoringCase(wchar_t *haystack, wchar_t needle)
wcharstring::findFirst
static const wchar_t * findFirst(const wchar_t *haystack, wchar_t needle)
wcharstring::strip
static bool strip(wchar_t *str, wchar_t character)
wcharstring::leftTrim
static void leftTrim(wchar_t *str)
wcharstring::integerLength
static uint16_t integerLength(int32_t number)
wcharstring::length
static size_t length(const wchar_t *string)
wcharstring::findLast
static const wchar_t * findLast(const wchar_t *haystack, wchar_t needle)
wcharstring::parseNumber
static wchar_t * parseNumber(float number)
wcharstring::before
static wchar_t * before(const wchar_t *str, const wchar_t *delimiter)
wcharstring::append
static wchar_t * append(wchar_t *dest, int64_t number)
wcharstring::parseNumber
static wchar_t * parseNumber(double number, uint16_t scale)
wcharstring::append
static wchar_t * append(wchar_t *dest, double number, uint16_t precision, uint16_t scale)
wcharstring::startsWith
static bool startsWith(const wchar_t *haystack, const wchar_t *needle)
wcharstring::compare
static int32_t compare(const wchar_t *str1, const wchar_t *str2)
wcharstring::parseNumber
static wchar_t * parseNumber(uint16_t number, uint16_t zeropadding)
wcharstring::findFirst
static wchar_t * findFirst(wchar_t *haystack, wchar_t needle)
wcharstring::bothTrim
static void bothTrim(wchar_t *str, wchar_t character)
wcharstring::append
static wchar_t * append(wchar_t *dest, const wchar_t *source, size_t size)
wcharstring::rightTrim
static void rightTrim(wchar_t *str)
wcharstring::findFirstOrEnd
static const wchar_t * findFirstOrEnd(const wchar_t *haystack, wchar_t needle)
wcharstring::findFirstIgnoringCase
static const wchar_t * findFirstIgnoringCase(const wchar_t *haystack, wchar_t needle)
wcharstring::subString
static wchar_t * subString(const wchar_t *str, size_t start, size_t end)
wcharstring::after
static wchar_t * after(const wchar_t *str, const wchar_t *delimiter)
wcharstring::printf
static ssize_t printf(wchar_t *buffer, size_t len, const wchar_t *format, va_list *argp)
wcharstring::printf
static ssize_t printf(wchar_t *buffer, size_t len, const wchar_t *format,...)
wcharstring::isNumber
static bool isNumber(const wchar_t *val)
wcharstring::escape
static void escape(const wchar_t *input, uint64_t inputsize, wchar_t **output, uint64_t *outputsize, const wchar_t *characters)
wcharstring::findLast
static const wchar_t * findLast(const wchar_t *haystack, const wchar_t *needle)
wcharstring::safeCopy
static wchar_t * safeCopy(wchar_t *dest, size_t destlen, const wchar_t *source, size_t sourcesize)
wcharstring::findLastOfSetOrEnd
static const wchar_t * findLastOfSetOrEnd(const wchar_t *haystack, const wchar_t *set)
wcharstring::rightTrim
static void rightTrim(wchar_t *str, wchar_t character)
wcharstring::copy
static wchar_t * copy(wchar_t *dest, size_t location, const wchar_t *source, size_t size)
wcharstring::convertAmount
static wchar_t * convertAmount(int64_t amount)
wcharstring::isInteger
static bool isInteger(const wchar_t *val, int32_t size)
wcharstring::parseNumber
static wchar_t * parseNumber(float number, uint16_t scale)
wcharstring::convertAmount
static int64_t convertAmount(const wchar_t *amount)
wcharstring::replace
static void replace(wchar_t *str, const wchar_t *oldchars, wchar_t newchar)
wcharstring::findLastOfSet
static const wchar_t * findLastOfSet(const wchar_t *haystack, const wchar_t *set)
wcharstring::pad
static wchar_t * pad(const wchar_t *string, wchar_t padchar, int16_t direction, uint64_t totallength)
wcharstring::escape
static wchar_t * escape(const wchar_t *input, const wchar_t *characters)
wcharstring::integerLength
static uint16_t integerLength(uint16_t number)
wcharstring::replace
static wchar_t * replace(const wchar_t *str, const wchar_t *const *oldstrset, ssize_t *oldstrlen, const wchar_t *const *newstrset)
wcharstring::append
static wchar_t * append(wchar_t *dest, double number)
wcharstring::contains
static bool contains(const wchar_t *haystack, const wchar_t *needle)
wcharstring::toFloat
static long double toFloat(const wchar_t *string)
wcharstring::findFirstOrEndIgnoringCase
static wchar_t * findFirstOrEndIgnoringCase(wchar_t *haystack, const wchar_t *needle)
wcharstring::toFloatC
static long double toFloatC(const wchar_t *string)
wcharstring::split
static void split(const wchar_t *string, ssize_t stringlength, const wchar_t *delimiter, bool collapse, wchar_t ***list, uint64_t *listlength)
wcharstring::parseNumber
static wchar_t * parseNumber(int16_t number, uint16_t zeropadding)
wcharstring::integerLength
static uint16_t integerLength(int64_t number)
wcharstring::findFirstOfSet
static wchar_t * findFirstOfSet(wchar_t *haystack, const wchar_t *set)
wcharstring::findFirstOrEnd
static wchar_t * findFirstOrEnd(wchar_t *haystack, const wchar_t *needle)
wcharstring::inSetIgnoringCase
static bool inSetIgnoringCase(const wchar_t *str, const wchar_t *const *set)
wcharstring::findLastOfSet
static wchar_t * findLastOfSet(wchar_t *haystack, const wchar_t *set)
wcharstring::replace
static void replace(wchar_t *str, wchar_t oldchar, wchar_t newchar)
wcharstring::toFloat
static long double toFloat(const wchar_t *string, const wchar_t **endptr)
wcharstring::toInteger
static int64_t toInteger(const wchar_t *string, const wchar_t **endptr)
wcharstring::parseNumber
static wchar_t * parseNumber(float number, uint16_t precision, uint16_t scale)
wcharstring::duplicate
static wchar_t * duplicate(const char *str, size_t len)
wcharstring::subString
static wchar_t * subString(const wchar_t *str, size_t start)
wcharstring::append
static wchar_t * append(wchar_t *dest, const wchar_t *source)
wcharstring::duplicate
static wchar_t * duplicate(const wchar_t *str)
wcharstring::parseNumber
static wchar_t * parseNumber(int64_t number)
wcharstring::contains
static bool contains(const wchar_t *haystack, wchar_t needle)
wcharstring::append
static wchar_t * append(wchar_t *dest, double number, uint16_t scale)
wcharstring::size
static size_t size(const wchar_t *string)
wcharstring::findLastIgnoringCase
static const wchar_t * findLastIgnoringCase(const wchar_t *haystack, const wchar_t *needle)
wcharstring::parseNumber
static wchar_t * parseNumber(uint32_t number)
wcharstring::containsIgnoringCase
static bool containsIgnoringCase(const wchar_t *haystack, wchar_t needle)
wcharstring::findFirstOfSetOrEnd
static wchar_t * findFirstOfSetOrEnd(wchar_t *haystack, const wchar_t *set)
wcharstring::parseNumber
static wchar_t * parseNumber(uint16_t number)
wcharstring::findFirstIgnoringCase
static wchar_t * findFirstIgnoringCase(wchar_t *haystack, const wchar_t *needle)
wcharstring::parseNumber
static wchar_t * parseNumber(uint64_t number, uint16_t zeropadding)
wcharstring::toUnsignedInteger
static uint64_t toUnsignedInteger(const wchar_t *string, const wchar_t **endptr, int32_t base)
wcharstring::findLast
static wchar_t * findLast(wchar_t *haystack, const wchar_t *needle)
wcharstring::integerLength
static uint16_t integerLength(int16_t number)
wcharstring::insertString
static wchar_t * insertString(const wchar_t *dest, const wchar_t *src, uint64_t index)
wcharstring::inSet
static bool inSet(const wchar_t *str, const wchar_t *const *set)
wcharstring::isNo
static bool isNo(const wchar_t *string)
wcharstring::isNullOrEmpty
static bool isNullOrEmpty(const wchar_t *string)
wcharstring::lengthContainingSet
static size_t lengthContainingSet(const wchar_t *haystack, const wchar_t *set)
wcharstring::safeCopy
static wchar_t * safeCopy(wchar_t *dest, size_t destlen, const wchar_t *source)
wcharstring::split
static void split(const wchar_t *string, const wchar_t *delimiter, ssize_t delimiterlength, bool collapse, wchar_t ***list, uint64_t *listlength)
wcharstring::toUnsignedInteger
static uint64_t toUnsignedInteger(const wchar_t *string)
wcharstring::append
static wchar_t * append(wchar_t *dest, uint64_t number)
wcharstring::compareIgnoringCase
static int32_t compareIgnoringCase(const wchar_t *str1, const wchar_t *str2)
wcharstring::lengthNotContainingSet
static size_t lengthNotContainingSet(const wchar_t *haystack, const wchar_t *set)
wcharstring::leftJustify
static void leftJustify(wchar_t *str, int32_t len)
wcharstring::split
static void split(const wchar_t *string, ssize_t stringlength, const wchar_t *delimiter, ssize_t delimiterlength, bool collapse, wchar_t ***list, uint64_t *listlength)
wcharstring::findLast
static wchar_t * findLast(wchar_t *haystack, wchar_t needle)
wcharstring::findFirst
static wchar_t * findFirst(wchar_t *haystack, const wchar_t *needle)
wcharstring::capitalize
static void capitalize(wchar_t *str)
wcharstring::isInteger
static bool isInteger(const wchar_t *val)
wcharstring::endsWith
static bool endsWith(const wchar_t *haystack, const wchar_t *needle)
wcharstring::isNumber
static bool isNumber(const wchar_t *val, int32_t size)
wcharstring::toInteger
static int64_t toInteger(const wchar_t *string, const wchar_t **endptr, int32_t base)
wcharstring::parseNumber
static wchar_t * parseNumber(uint32_t number, uint16_t zeropadding)
wcharstring::between
static wchar_t * between(const wchar_t *str, const wchar_t *start, const wchar_t *end)
wcharstring::bothTrim
static void bothTrim(wchar_t *str)
wcharstring::stripSet
static bool stripSet(wchar_t *str1, const wchar_t *set)
wcharstring::integerLength
static uint16_t integerLength(uint64_t number)
wcharstring::toInteger
static int64_t toInteger(const wchar_t *string)
wcharstring::copy
static wchar_t * copy(wchar_t *dest, const wchar_t *source, size_t size)
wcharstring::parseNumber
static wchar_t * parseNumber(int16_t number)
wcharstring::findLastOfSetOrEnd
static wchar_t * findLastOfSetOrEnd(wchar_t *haystack, const wchar_t *set)
wcharstring::upper
static void upper(wchar_t *str)
wcharstring::copy
static wchar_t * copy(wchar_t *dest, size_t location, const wchar_t *source)
wcharstring::unescape
static void unescape(const wchar_t *input, uint64_t inputsize, wchar_t **output, uint64_t *outputsize)
wcharstring::parseNumber
static wchar_t * parseNumber(long double number, uint16_t scale)
wcharstring::printf
static ssize_t printf(wchar_t **buffer, const wchar_t *format,...)
wcharstring::parseNumber
static wchar_t * parseNumber(uint64_t number)
wcharstring::printf
static ssize_t printf(wchar_t **buffer, const wchar_t *format, va_list *argp)
wcharstring::copy
static wchar_t * copy(wchar_t *dest, const wchar_t *source)
wcharstring::leftTrim
static void leftTrim(wchar_t *str, wchar_t character)
wcharstring::findFirstOrEndIgnoringCase
static const wchar_t * findFirstOrEndIgnoringCase(const wchar_t *haystack, const wchar_t *needle)
wcharstring::strip
static bool strip(wchar_t *str1, const wchar_t *str2)
wcharstring::toInteger
static int64_t toInteger(const wchar_t *string, int32_t base)
wcharstring::findFirstOfSet
static const wchar_t * findFirstOfSet(const wchar_t *haystack, const wchar_t *set)
wcharstring::duplicate
static wchar_t * duplicate(const char *str)
wcharstring::toUnsignedInteger
static uint64_t toUnsignedInteger(const wchar_t *string, int32_t base)
wcharstring::findFirstOrEndIgnoringCase
static const wchar_t * findFirstOrEndIgnoringCase(const wchar_t *haystack, wchar_t needle)
wcharstring::parseNumber
static wchar_t * parseNumber(double number)
wcharstring::findLastIgnoringCase
static const wchar_t * findLastIgnoringCase(const wchar_t *haystack, wchar_t needle)
wcharstring::containsIgnoringCase
static bool containsIgnoringCase(const wchar_t *haystack, const wchar_t *needle)
wcharstring::zero
static void zero(wchar_t *str, size_t len)