-
Notifications
You must be signed in to change notification settings - Fork 63
contract.Base64
Aleksey Bykhun edited this page Jan 18, 2023
·
1 revision
Author: Brecht Devos [email protected]
[MIT License]
Provides a function for encoding some bytes in base64
bytes internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
Encodes some bytes to the base64 representation
function encode(bytes memory data) internal pure returns (string memory);