Package org.openjdk.jmh.util.lines
Class Armor
java.lang.Object
org.openjdk.jmh.util.lines.Armor
This implements a simple String armoring scheme that resembles Base64.
We cannot use Base64 implementations from JDK yet, because the lowest language level is at 7.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
private static void
decodeStep
(int[] ibuf, int[] obuf) static String
private static void
encodeStep
(int[] ibuf, int[] obuf)
-
Field Details
-
DICT
- See Also:
-
-
Constructor Details
-
Armor
Armor()
-
-
Method Details
-
encodeStep
private static void encodeStep(int[] ibuf, int[] obuf) -
decodeStep
private static void decodeStep(int[] ibuf, int[] obuf) -
encode
-
decode
-