MCPcopy Create free account
hub / github.com/BombusMod/BombusMod / toBase64

Method toBase64

src/main/java/util/Strconv.java:72–75  ·  view source on GitHub ↗
( String source)

Source from the content-addressed store, hash-verified

70 }
71
72 public static String toBase64( String source) {
73 byte[] inputBytes = toUTFArray(source);
74 return toBase64(inputBytes, inputBytes.length);
75 }
76
77 public static String toBase64( byte source[], int len) {
78 String alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";

Callers 6

openMethod · 0.95
runMethod · 0.95
calcVerHashMethod · 0.95
blockArrivedMethod · 0.95
processServerMessageMethod · 0.95
constructVCardMethod · 0.95

Calls 1

toUTFArrayMethod · 0.95

Tested by

no test coverage detected