Package com.sdk.accumulate.service
Class Marshaller
java.lang.Object
com.sdk.accumulate.service.Marshaller
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]
bigNumberMarshalBinary
(BigInteger amount) static byte[]
booleanMarshaller
(boolean data) static byte[]
bytesMarshaller
(byte[] data) static BigInteger
clearBit
(BigInteger n, int len) static byte[]
integerMarshaller
(int data) static byte[]
longMarshaller
(long data) static byte[]
stringMarshaller
(String data) static byte[]
toByteArray
(byte[] value) static byte[]
uvarintMarshalBinary
(BigInteger number)
-
Constructor Details
-
Marshaller
public Marshaller()
-
-
Method Details
-
uvarintMarshalBinary
-
stringMarshaller
-
booleanMarshaller
public static byte[] booleanMarshaller(boolean data) -
integerMarshaller
public static byte[] integerMarshaller(int data) -
longMarshaller
public static byte[] longMarshaller(long data) -
bytesMarshaller
public static byte[] bytesMarshaller(byte[] data) -
clearBit
-
toByteArray
public static byte[] toByteArray(byte[] value) -
bigNumberMarshalBinary
-