Class SerializerUtil
java.lang.Object
com.espertech.esper.common.internal.util.SerializerUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Object
byteArrBase64ToObject
(String base64) NOTE: Code-generation-invoked method, method name and parameter order mattersstatic Object
byteArrToObject
(byte[] bytes) Deserialize byte arry to object.static CodegenExpression
expressionForUserObject
(Object userObject) static byte[]
objectToByteArr
(Object underlying) Serialize object to byte array.static String
objectToByteArrBase64
(Serializable userObject)
-
Constructor Details
-
SerializerUtil
public SerializerUtil()
-
-
Method Details
-
objectToByteArr
Serialize object to byte array.- Parameters:
underlying
- to serialize- Returns:
- byte array
-
byteArrToObject
Deserialize byte arry to object.- Parameters:
bytes
- to read- Returns:
- object
-
objectToByteArrBase64
-
byteArrBase64ToObject
NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
base64
- encoded string- Returns:
- object
-
expressionForUserObject
-