接口的使用
cn.wjybxx.dsoncodec.DsonObjectWriter
使用DsonObjectWriter的程序包
-
cn.wjybxx.dsoncodec中DsonObjectWriter的使用
参数类型为DsonObjectWriter的cn.wjybxx.dsoncodec中的方法修饰符和类型方法说明protected voidAbstractDsonCodec.beforeEncode(DsonObjectWriter writer, T inst) 用于执行用户的beforeEncode钩子方法。abstract voidAbstractDsonCodec.writeFields(DsonObjectWriter writer, T inst) voidAbstractDsonCodec.writeObject(DsonObjectWriter writer, T inst, TypeInfo declaredType, ObjectStyle style) voidDsonCodec.writeObject(DsonObjectWriter writer, T inst, TypeInfo declaredType, ObjectStyle style) 将对象写入输出流。voidDsonCodecImpl.writeObject(DsonObjectWriter writer, T inst, TypeInfo declaredType, ObjectStyle style) 将对象写入输出流。 -
cn.wjybxx.dsoncodec.codecs中DsonObjectWriter的使用
修饰符和类型方法说明voidArrayCodec.writeObject(DsonObjectWriter writer, T[] inst, TypeInfo declaredType, ObjectStyle style) voidBinaryCodec.writeObject(DsonObjectWriter writer, Binary inst, TypeInfo declaredType, ObjectStyle style) voidBooleanCodec.writeObject(DsonObjectWriter writer, Boolean inst, TypeInfo declaredType, ObjectStyle style) voidCollectionCodec.writeObject(DsonObjectWriter writer, Collection<E> inst, TypeInfo declaredType, ObjectStyle style) voidDoubleCodec.writeObject(DsonObjectWriter writer, Double inst, TypeInfo declaredType, ObjectStyle style) voidDurationCodec.writeObject(DsonObjectWriter writer, Duration inst, TypeInfo declaredType, ObjectStyle style) voidEnumCodec.writeObject(DsonObjectWriter writer, T inst, TypeInfo declaredType, ObjectStyle style) voidExtDateTimeCodec.writeObject(DsonObjectWriter writer, ExtDateTime inst, TypeInfo declaredType, ObjectStyle style) voidFloatCodec.writeObject(DsonObjectWriter writer, Float inst, TypeInfo declaredType, ObjectStyle style) voidInstantCodec.writeObject(DsonObjectWriter writer, Instant inst, TypeInfo declaredType, ObjectStyle style) voidInt32Codec.writeObject(DsonObjectWriter writer, Integer inst, TypeInfo declaredType, ObjectStyle style) voidInt64Codec.writeObject(DsonObjectWriter writer, Long inst, TypeInfo declaredType, ObjectStyle style) voidLocalDateCodec.writeObject(DsonObjectWriter writer, LocalDate inst, TypeInfo declaredType, ObjectStyle style) voidLocalDateTimeCodec.writeObject(DsonObjectWriter writer, LocalDateTime inst, TypeInfo declaredType, ObjectStyle style) voidLocalTimeCodec.writeObject(DsonObjectWriter writer, LocalTime inst, TypeInfo declaredType, ObjectStyle style) voidMapCodec.writeObject(DsonObjectWriter writer, Map<K, V> inst, TypeInfo declaredType, ObjectStyle style) voidMapEncodeProxyCodec.writeObject(DsonObjectWriter writer, MapEncodeProxy<V> inst, TypeInfo declaredType, ObjectStyle style) voidMoreArrayCodecs.BooleanArrayCodec.writeObject(DsonObjectWriter writer, boolean[] inst, TypeInfo declaredType, ObjectStyle style) voidMoreArrayCodecs.ByteArrayCodec.writeObject(DsonObjectWriter writer, byte[] bytes, TypeInfo declaredType, ObjectStyle style) voidMoreArrayCodecs.CharArrayCodec.writeObject(DsonObjectWriter writer, char[] inst, TypeInfo declaredType, ObjectStyle style) voidMoreArrayCodecs.DoubleArrayCodec.writeObject(DsonObjectWriter writer, double[] inst, TypeInfo declaredType, ObjectStyle style) voidMoreArrayCodecs.FloatArrayCodec.writeObject(DsonObjectWriter writer, float[] inst, TypeInfo declaredType, ObjectStyle style) voidMoreArrayCodecs.IntArrayCodec.writeObject(DsonObjectWriter writer, int[] inst, TypeInfo declaredType, ObjectStyle style) voidMoreArrayCodecs.LongArrayCodec.writeObject(DsonObjectWriter writer, long[] inst, TypeInfo declaredType, ObjectStyle style) voidMoreArrayCodecs.ShortArrayCodec.writeObject(DsonObjectWriter writer, short[] inst, TypeInfo declaredType, ObjectStyle style) voidMoreArrayCodecs.StringArrayCodec.writeObject(DsonObjectWriter writer, String[] inst, TypeInfo declaredType, ObjectStyle style) voidMorePrimitiveCodecs.ByteCodec.writeObject(DsonObjectWriter writer, Byte inst, TypeInfo declaredType, ObjectStyle style) voidMorePrimitiveCodecs.CharacterCodec.writeObject(DsonObjectWriter writer, Character inst, TypeInfo declaredType, ObjectStyle style) voidMorePrimitiveCodecs.ShortCodec.writeObject(DsonObjectWriter writer, Short inst, TypeInfo declaredType, ObjectStyle style) voidObjectLitePtrCodec.writeObject(DsonObjectWriter writer, ObjectLitePtr inst, TypeInfo declaredType, ObjectStyle style) voidObjectPtrCodec.writeObject(DsonObjectWriter writer, ObjectPtr inst, TypeInfo declaredType, ObjectStyle style) voidStringCodec.writeObject(DsonObjectWriter writer, String inst, TypeInfo declaredType, ObjectStyle style) voidTimestampCodec.writeObject(DsonObjectWriter writer, Timestamp inst, TypeInfo declaredType, ObjectStyle style)