ByteArraySerializer Class
- java.
lang. Object - com.
microsoft. graph. serializer. ByteArraySerializer
- com.
public final class ByteArraySerializer
Serializer for byte[]s
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static byte[] |
deserialize(String strVal)
Deserializes a string |
| static java.lang.String |
serialize(byte[] src)
Serializes the string |
Methods inherited from java.lang.Object
java.lang.Object.clone
java.lang.Object.equals
java.lang.Object.finalize
java.lang.Object.getClass
java.lang.Object.hashCode
java.lang.Object.notify
java.lang.Object.notifyAll
java.lang.Object.toString
java.lang.Object.wait
java.lang.Object.wait
java.lang.Object.wait
Method Details
deserialize
public static byte[] deserialize(String strVal)
Deserializes a string
Parameters:
strVal
- the value to deserialize
Returns:
the string encoded bytes
Throws:
java.text.ParseException
- if there is any problem processing the value
serialize
public static String serialize(byte[] src)
Serializes the string
Parameters:
src
- the source array
Returns:
the string