Package net.skinsrestorer.api
Class Base64Utils
java.lang.Object
net.skinsrestorer.api.Base64Utils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
static String
static String
encodePNGAsUrl
(byte[] pngData) static String
encodePNGAsUrl
(BufferedImage image) static String
encodePNGAsUrl
(File pngFile) static String
encodePNGAsUrl
(Path pngPath)
-
Constructor Details
-
Base64Utils
public Base64Utils()
-
-
Method Details
-
encode
-
decode
-
encodePNGAsUrl
- Throws:
IOException
-
encodePNGAsUrl
- Throws:
IOException
-
encodePNGAsUrl
- Throws:
IOException
-
encodePNGAsUrl
-