类 BcsSerializeHelper

java.lang.Object
org.starcoin.utils.BcsSerializeHelper

public class BcsSerializeHelper extends Object
  • 构造器详细资料

    • BcsSerializeHelper

      public BcsSerializeHelper()
  • 方法详细资料

    • serializeU128ToBytes

      public static Bytes serializeU128ToBytes(BigInteger v)
    • serializeAddressToBytes

      public static Bytes serializeAddressToBytes(AccountAddress address)
    • serializeU64ToBytes

      public static Bytes serializeU64ToBytes(Long v)
    • serializeVectorU8ToBytes

      public static Bytes serializeVectorU8ToBytes(String str)
    • serializeListToBytes

      public static Bytes serializeListToBytes(List<String> list)
    • serializeU64

      public static byte[] serializeU64(Long v)
    • serializeU128

      public static byte[] serializeU128(BigInteger v)
    • serializeString

      public static byte[] serializeString(String v)
    • serializeU8

      public static byte[] serializeU8(Byte v)
    • serializeVectorU8

      public static byte[] serializeVectorU8(List<Byte> value)