索引

C D E G I M P T 
All Classes and Interfaces|所有程序包

C

contains(int) - 类中的方法 io.packable.PackDecoder
 

D

decode(byte[], int, int, TypeAdapter<T>) - 类中的静态方法 io.packable.PackDecoder
 
decode(byte[], TypeAdapter<T>) - 类中的静态方法 io.packable.PackDecoder
 
decode(PackDecoder) - 接口中的方法 io.packable.TypeAdapter
从decoder中解码出目标对象
decodeIntArray(byte[]) - 类中的静态方法 io.packable.PackDecoder
 
decodeLongArray(byte[]) - 类中的静态方法 io.packable.PackDecoder
 
decodeObjectList(byte[], TypeAdapter<T>) - 类中的静态方法 io.packable.PackDecoder
 
decodeStringList(byte[]) - 类中的静态方法 io.packable.PackDecoder
 

E

encode(PackEncoder, T) - 接口中的方法 io.packable.TypeAdapter
将目标对象编码到到encoder
encode(T, TypeAdapter<T>) - 类中的静态方法 io.packable.PackEncoder
 
encodeIntArray(int[]) - 类中的静态方法 io.packable.PackEncoder
 
encodeLongArray(long[]) - 类中的静态方法 io.packable.PackEncoder
 
encodeObjectList(List<T>, TypeAdapter<T>) - 类中的静态方法 io.packable.PackEncoder
 
encodeStringList(List<String>) - 类中的静态方法 io.packable.PackEncoder
 

G

getBoolean(int) - 类中的方法 io.packable.PackDecoder
 
getBoolean(int, boolean) - 类中的方法 io.packable.PackDecoder
 
getBooleanArray(int) - 类中的方法 io.packable.PackDecoder
 
getByte(int) - 类中的方法 io.packable.PackDecoder
 
getByte(int, byte) - 类中的方法 io.packable.PackDecoder
 
getByteArray(int) - 类中的方法 io.packable.PackDecoder
 
getDouble(int) - 类中的方法 io.packable.PackDecoder
 
getDouble(int, double) - 类中的方法 io.packable.PackDecoder
 
getDoubleArray(int) - 类中的方法 io.packable.PackDecoder
 
getDoubleList(int) - 类中的方法 io.packable.PackDecoder
 
getFloat(int) - 类中的方法 io.packable.PackDecoder
 
getFloat(int, float) - 类中的方法 io.packable.PackDecoder
 
getFloatArray(int) - 类中的方法 io.packable.PackDecoder
 
getFloatList(int) - 类中的方法 io.packable.PackDecoder
 
getInt(int) - 类中的方法 io.packable.PackDecoder
 
getInt(int, int) - 类中的方法 io.packable.PackDecoder
 
getIntArray(int) - 类中的方法 io.packable.PackDecoder
 
getIntList(int) - 类中的方法 io.packable.PackDecoder
 
getLong(int) - 类中的方法 io.packable.PackDecoder
 
getLong(int, long) - 类中的方法 io.packable.PackDecoder
 
getLongArray(int) - 类中的方法 io.packable.PackDecoder
 
getLongList(int) - 类中的方法 io.packable.PackDecoder
 
getMap(int, Class<K>, Class<V>) - 类中的方法 io.packable.PackDecoder
getMap 不能像putMap那样根据map中的元素获取类型,所以只能手动传入了。
getMap(int, Class<K>, Class<V>, TypeAdapter<K>, TypeAdapter<V>) - 类中的方法 io.packable.PackDecoder
 
getNotNullString(int) - 类中的方法 io.packable.PackDecoder
 
getObject(int, TypeAdapter<T>) - 类中的方法 io.packable.PackDecoder
 
getObject(int, TypeAdapter<T>, T) - 类中的方法 io.packable.PackDecoder
 
getObjectArray(int, TypeAdapter<T>, T[]) - 类中的方法 io.packable.PackDecoder
获取对象数组
getObjectList(int, TypeAdapter<T>) - 类中的方法 io.packable.PackDecoder
 
getShort(int) - 类中的方法 io.packable.PackDecoder
 
getShort(int, short) - 类中的方法 io.packable.PackDecoder
 
getString(int) - 类中的方法 io.packable.PackDecoder
 
getString(int, String) - 类中的方法 io.packable.PackDecoder
 
getStringArray(int) - 类中的方法 io.packable.PackDecoder
 
getStringList(int) - 类中的方法 io.packable.PackDecoder
 

I

ignoreUnknownType - 类中的静态变量 io.packable.PackConfig
遇到未知类型时,忽略还是抛异常: true: 忽略 (默认) false: 抛异常 建议 debug 时设置为 false, release 时设置为true。
io.packable - 程序包 io.packable
 

M

maxObjectArraySize - 类中的静态变量 io.packable.PackConfig
对象数组最大size
用于编解码对象(字符串和自定义对象)时,限制数组元素的个数, 默认 1M (一百万),可以自行设定。

P

PackConfig - io.packable中的类
 
PackConfig() - 类的构造器 io.packable.PackConfig
 
PackDecoder - io.packable中的类
PackDecoder 作用:将byte数组解码为目标对象。
PackDecoder(byte[]) - 类的构造器 io.packable.PackDecoder
 
PackDecoder(byte[], int, int) - 类的构造器 io.packable.PackDecoder
 
PackEncoder - io.packable中的类
PackEncoder 作用:将对象编码成字节数组
PackEncoder() - 类的构造器 io.packable.PackEncoder
 
putBoolean(int, boolean) - 类中的方法 io.packable.PackEncoder
 
putBooleanArray(int, boolean[]) - 类中的方法 io.packable.PackEncoder
 
putByte(int, byte) - 类中的方法 io.packable.PackEncoder
 
putByteArray(int, byte[]) - 类中的方法 io.packable.PackEncoder
 
putDouble(int, double) - 类中的方法 io.packable.PackEncoder
 
putDoubleArray(int, double[]) - 类中的方法 io.packable.PackEncoder
 
putDoubleList(int, Collection<Double>) - 类中的方法 io.packable.PackEncoder
 
putFloat(int, float) - 类中的方法 io.packable.PackEncoder
 
putFloatArray(int, float[]) - 类中的方法 io.packable.PackEncoder
 
putFloatList(int, Collection<Float>) - 类中的方法 io.packable.PackEncoder
 
putInt(int, int) - 类中的方法 io.packable.PackEncoder
 
putIntArray(int, int[]) - 类中的方法 io.packable.PackEncoder
 
putIntList(int, Collection<Integer>) - 类中的方法 io.packable.PackEncoder
 
putLong(int, long) - 类中的方法 io.packable.PackEncoder
 
putLongArray(int, long[]) - 类中的方法 io.packable.PackEncoder
 
putLongList(int, Collection<Long>) - 类中的方法 io.packable.PackEncoder
 
putMap(int, Map<K, V>) - 类中的方法 io.packable.PackEncoder
编码Map
putMap(int, Map<K, V>, TypeAdapter<K>, TypeAdapter<V>) - 类中的方法 io.packable.PackEncoder
 
putMap(int, Map<K, V>, TypeAdapter<V>) - 类中的方法 io.packable.PackEncoder
编码Map
putMap(int, Map<K, V>, Class<K>, Class<V>, TypeAdapter<K>, TypeAdapter<V>) - 类中的方法 io.packable.PackEncoder
 
putObject(int, T, TypeAdapter<T>) - 类中的方法 io.packable.PackEncoder
 
putObjectArray(int, T[], TypeAdapter<T>) - 类中的方法 io.packable.PackEncoder
 
putObjectList(int, Collection<? extends T>, TypeAdapter<T>) - 类中的方法 io.packable.PackEncoder
 
putShort(int, short) - 类中的方法 io.packable.PackEncoder
 
putString(int, String) - 类中的方法 io.packable.PackEncoder
 
putStringArray(int, String[]) - 类中的方法 io.packable.PackEncoder
 
putStringList(int, Collection<String>) - 类中的方法 io.packable.PackEncoder
 

T

toBytes() - 类中的方法 io.packable.PackEncoder
获取编码的字节数组。
TypeAdapter<T> - io.packable中的接口
类型适配器
用于桥接编码器和对象, 可按需实现编码和解码功能。
C D E G I M P T 
All Classes and Interfaces|所有程序包