aboutsummaryrefslogtreecommitdiff
path: root/src/util/strencodings.cpp
AgeCommit message (Expand)Author
2024-05-16util: move HexStr and HexDigit from util to cryptoTheCharlatan
2024-03-13Merge bitcoin/bitcoin#29606: refactor: Reserve memory for ToLower/ToUpper con...Ava Chow
2024-03-08Reserve memory for ToLower/ToUpper conversionsLőrinc
2024-02-28Preallocate result in `TryParseHex` to avoid resizingLőrinc
2023-03-07util: Work around ParseHex gcc cross compiler bugMarcoFalke
2023-02-27util: Return empty vector on invalid hex encodingMarcoFalke
2022-12-24scripted-diff: Bump copyright headersHennadii Stepanov
2022-10-05Validate port value in `SplitHostPort`amadeuszpawlik
2022-08-20Fix iwyuMacroFake
2022-07-08refactor: add most of src/util to iwyufanquake
2022-05-20Merge bitcoin/bitcoin#23595: util: Add ParseHex<std::byte>() helperlaanwj
2022-05-04Merge bitcoin/bitcoin#24852: util: optimize HexStrlaanwj
2022-04-27util: Add ParseHex<std::byte>() helperMarcoFalke
2022-04-27test: Add test for embedded null in hex stringMarcoFalke
2022-04-27Use std::string_view throughout util strencodings/stringPieter Wuille
2022-04-27Make DecodeBase{32,64} take string_view argumentsPieter Wuille
2022-04-27Make DecodeBase{32,64} return optional instead of taking bool*Pieter Wuille
2022-04-27Make DecodeBase{32,64} always return vector, not stringPieter Wuille
2022-04-27Reject incorrect base64 in HTTP authPieter Wuille
2022-04-27Make SanitizeString use string_viewPieter Wuille
2022-04-27Make IsHexNumber use string_viewPieter Wuille
2022-04-27Make IsHex use string_viewPieter Wuille
2022-04-27Make ParseHex use string_viewPieter Wuille
2022-04-17util: optimizes HexStrMartin Leitner-Ankerl
2022-02-10Merge bitcoin/bitcoin#24297: Fix unintended unsigned integer overflow in stre...fanquake
2022-02-09fuzz: Avoid unsigned integer overflow in FormatParagraphMarcoFalke
2022-02-09Fix unintended unsigned integer overflow in strencodingsMarcoFalke
2021-12-30scripted-diff: Bump copyright headersHennadii Stepanov
2021-12-13Reduce size of strencodings decode tablesMarcoFalke
2021-12-13Fix implicit integer sign changes in strencodingsMarcoFalke
2021-11-24Merge bitcoin/bitcoin#23451: span: Add std::byte helpersMarcoFalke
2021-11-17util: ParseByteUnits - Parse a string with suffix unit [k|K|m|M|g|G|t|T]Douglas Chimento
2021-11-09span: Add std::byte helpersMarcoFalke
2021-10-04Merge bitcoin/bitcoin#23156: refactor: Remove unused ParsePrechecks and Parse...MarcoFalke
2021-10-04Remove unused ParseDouble and ParsePrechecksMarcoFalke
2021-10-01refactor: Remove unused ParsePrechecks from ParseIntegralMarcoFalke
2021-09-30Replace use of locale dependent atoi(…) with locale-independent std::from_c...practicalswift
2021-09-18util: Introduce ToIntegral<T>(const std::string&) for locale independent pars...practicalswift
2021-05-19Merge bitcoin/bitcoin#21173: util: faster HexStr => 13% faster blockToJSONW. J. van der Laan
2021-03-16util: add missing braces and apply clang format to SplitHostPort()Jon Atack
2021-03-16util: add ParseUInt16(), use it in SplitHostPort()Jon Atack
2021-03-16p2p, refactor: pass and use uint16_t CService::port as uint16_tJon Atack
2021-02-16faster HexStr => 13% faster blockToJSONMartin Ankerl
2020-11-26scripted-diff: Use [[nodiscard]] (C++17) instead of NODISCARDpracticalswift
2020-09-21net: recognize TORv3/I2P/CJDNS networksVasil Dimov
2020-08-25util: make EncodeBase64 consume SpansSebastian Falbesoner
2020-08-25util: make EncodeBase32 consume SpansSebastian Falbesoner
2020-08-25Merge #19628: net: change CNetAddr::ip to have flexible sizeMarcoFalke
2020-08-24net: change CNetAddr::ip to have flexible sizeVasil Dimov
2020-08-17util: remove unused c-string variant of atoi64()Sebastian Falbesoner