Skip to content

contract.Base64

Aleksey Bykhun edited this page Jan 18, 2023 · 1 revision

Base64

Git Source

Author: Brecht Devos [email protected]

[MIT License]

Provides a function for encoding some bytes in base64

State Variables

TABLE

bytes internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

Functions

encode

Encodes some bytes to the base64 representation

function encode(bytes memory data) internal pure returns (string memory);
Clone this wiki locally