程序包 com.novi.serde
接口 Serializer
- 所有已知实现类:
BcsSerializer
,BinarySerializer
public interface Serializer
-
方法概要
修饰符和类型方法说明void
int
byte[]
void
void
serialize_bool(Boolean value)
void
serialize_bytes(Bytes value)
void
serialize_char(Character value)
void
serialize_f32(Float value)
void
serialize_f64(Double value)
void
serialize_i128(BigInteger value)
void
serialize_i16(Short value)
void
serialize_i32(Integer value)
void
serialize_i64(Long value)
void
serialize_i8(Byte value)
void
serialize_len(long value)
void
serialize_option_tag(boolean value)
void
serialize_str(String value)
void
serialize_u128(BigInteger value)
void
serialize_u16(Short value)
void
serialize_u32(Integer value)
void
serialize_u64(Long value)
void
serialize_u8(Byte value)
void
serialize_unit(Unit value)
void
serialize_variant_index(int value)
void
sort_map_entries(int[] offsets)
-
方法详细资料
-
serialize_str
-
serialize_bytes
-
serialize_bool
-
serialize_unit
-
serialize_char
-
serialize_f32
-
serialize_f64
-
serialize_u8
-
serialize_u16
-
serialize_u32
-
serialize_u64
-
serialize_u128
-
serialize_i8
-
serialize_i16
-
serialize_i32
-
serialize_i64
-
serialize_i128
-
serialize_len
-
serialize_variant_index
-
serialize_option_tag
-
increase_container_depth
-
decrease_container_depth
void decrease_container_depth() -
get_buffer_offset
int get_buffer_offset() -
sort_map_entries
void sort_map_entries(int[] offsets) -
get_bytes
byte[] get_bytes()
-