public class BinaryBase64Value extends AbstractBinaryValue
bytesslen, valueType| Constructor and Description |
|---|
BinaryBase64Value(byte[] bytes) |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
decode(String encoded)
Decodes Base64 data into octects
|
boolean |
equals(Object o) |
void |
getCharacters(char[] cbuffer,
int offset)
Fills character array with the value represented as String
|
int |
getCharactersLength()
Length of string representation
|
int |
hashCode() |
protected static boolean |
isBase64(char octect) |
protected static boolean |
isData(char octect) |
protected static boolean |
isPad(char octect) |
protected static boolean |
isWhiteSpace(char octect) |
static BinaryBase64Value |
parse(String val) |
protected static int |
removeWhiteSpace(char[] data)
remove WhiteSpace from MIME containing encoded Base64 data.
|
_equals, toBytesgetCharacters, getValueType, toString, toStringpublic static BinaryBase64Value parse(String val)
public int getCharactersLength()
Valuepublic void getCharacters(char[] cbuffer,
int offset)
Valuecbuffer - character bufferoffset - character buffer offsetprotected static boolean isWhiteSpace(char octect)
protected static boolean isPad(char octect)
protected static boolean isData(char octect)
protected static boolean isBase64(char octect)
public static byte[] decode(String encoded)
encoded - string containing Base64 dataprotected static int removeWhiteSpace(char[] data)
data - the byte array of base64 data (with WS)Copyright © 2018 Siemens AG. All rights reserved.