MCPcopy Index your code
hub / github.com/libgdx/libgdx / encodeString

Method encodeString

gdx/src/com/badlogic/gdx/utils/Base64Coder.java:77–79  ·  view source on GitHub ↗

Encodes a string into Base64 format. No blanks or line breaks are inserted. @param s A String to be encoded. @return A String containing the Base64 encoded data.

(String s)

Source from the content-addressed store, hash-verified

75 * @param s A String to be encoded.
76 * @return A String containing the Base64 encoded data. */
77 public static String encodeString (String s) {
78 return encodeString(s, false);
79 }
80
81 /** Encodes a string into Base64 format, optionally using URL-safe encoding instead of the "regular" Base64 encoding. No blanks
82 * or line breaks are inserted.

Callers 1

basicAuthenticationMethod · 0.95

Calls 2

encodeMethod · 0.95
getBytesMethod · 0.80

Tested by

no test coverage detected