Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ encode_size
Function
encode_size
test/benchmark/base64.c:17–19 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
15
static char decode_table[256];
16
17
int encode_size(int size) {
18
return (int)(size * 4 / 3.0) + 6;
19
}
20
21
int decode_size(int size) {
22
return (int)(size * 3 / 4.0) + 6;
Callers
1
encode
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected