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