MCPcopy Create free account
hub / github.com/jwtk/jjwt / encode

Method encode

api/src/main/java/io/jsonwebtoken/io/Base64Encoder.java:36–40  ·  view source on GitHub ↗
(byte[] bytes)

Source from the content-addressed store, hash-verified

34 }
35
36 @Override
37 public String encode(byte[] bytes) throws EncodingException {
38 Assert.notNull(bytes, "byte array argument cannot be null");
39 return this.base64.encodeToString(bytes, false);
40 }
41}

Callers

nothing calls this directly

Calls 2

notNullMethod · 0.95
encodeToStringMethod · 0.45

Tested by

no test coverage detected