Update docs
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Base64.sol)
|
||||
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Base64.sol)
|
||||
|
||||
pragma solidity ^0.8.0;
|
||||
|
||||
@ -35,6 +35,7 @@ library Base64 {
|
||||
// - `4 *` -> 4 characters for each chunk
|
||||
string memory result = new string(4 * ((data.length + 2) / 3));
|
||||
|
||||
/// @solidity memory-safe-assembly
|
||||
assembly {
|
||||
// Prepare the lookup table (skip the first "length" byte)
|
||||
let tablePtr := add(table, 1)
|
||||
|
||||
Reference in New Issue
Block a user