solidity-stringutils
solidity-stringutils copied to clipboard
Basic string utilities for Solidity
msg: Warning: This declaration shadows an existing declaration. --> contracts/CRUD.sol:125:42: | 125 | function memcpy(uint dest, uint src, uint len) private pure { | ^^^^^^^^ Note: The shadowed declaration is...
Can you register this package with npm so it can be installed with npm or yarn
https://docs.soliditylang.org/en/breaking/080-breaking-changes.html
For more solidity project are migrated to 0.5.x version, we need to change the codes to meet the requirements of the compiler, which has no impact to the functionalities.
minor patch to for loop structure and data type in function len()
In solidity 0.5.0 (see https://github.com/ethereum/solidity/pull/4696) we will restrict implicit (and explicit) conversions between number literals and bytesXX types. Among others this will prevent binary operations between bytesXX and hex literals...
Reasonably certain that the sign of the return is opposite to that stated in the comment...
When running the test with the previous unicodes I got message "contains invalid UTF-8 sequence at position 9".