Package com.io7m.smfj.format.text
Class SMFBase64Lines
- java.lang.Object
-
- com.io7m.smfj.format.text.SMFBase64Lines
-
public final class SMFBase64Lines extends java.lang.Object
Base64 encoding.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]
fromBase64Lines(java.util.List<java.lang.String> lines)
Parse binary data from the given lines of Base64 encoded data.static java.util.List<java.lang.String>
toBase64Lines(byte[] data)
Serialize the given binary data into lines of at most 72 characters of Base64 text.
-
-
-
Method Detail
-
toBase64Lines
public static java.util.List<java.lang.String> toBase64Lines(byte[] data)
Serialize the given binary data into lines of at most 72 characters of Base64 text. The lines do not have terminating line breaks.- Parameters:
data
- The data- Returns:
- A set of lines
-
fromBase64Lines
public static byte[] fromBase64Lines(java.util.List<java.lang.String> lines)
Parse binary data from the given lines of Base64 encoded data.- Parameters:
lines
- A set of lines of Base64 encoded data- Returns:
- The decoded binary data
-
-