MCPcopy Create free account
hub / github.com/arun11299/cpp-jwt / decoding_size

Function decoding_size

include/jwt/base64.hpp:46–50  ·  view source on GitHub ↗

Returns the maximum number of bytes required to store a decoded base64 byte string.

Source from the content-addressed store, hash-verified

44// Returns the maximum number of bytes required
45// to store a decoded base64 byte string.
46inline constexpr
47size_t decoding_size(size_t n)
48{
49 return n / 4 * 3;
50}
51
52/**
53 * Encoding map.

Callers 1

base64_decodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected