- java.lang.Object
-
- org.redkale.convert.StreamEncoder<ProtobufWriter,T>
-
- org.redkale.convert.pb.ProtobufStreamEncoder<T>
-
- 类型参数:
T
- T
- 所有已实现的接口:
Encodeable<ProtobufWriter,Stream<T>>
,ProtobufEncodeable<ProtobufWriter,Stream<T>>
public class ProtobufStreamEncoder<T> extends StreamEncoder<ProtobufWriter,T> implements ProtobufEncodeable<ProtobufWriter,Stream<T>>
- 作者:
- zhangjx
-
-
字段概要
字段 修饰符和类型 字段 说明 protected boolean
componentPrimitived
protected boolean
componentSimpled
-
从类继承的字段 org.redkale.convert.StreamEncoder
componentEncoder, inited, type
-
-
构造器概要
构造器 构造器 说明 ProtobufStreamEncoder(ConvertFactory factory, Type type)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected int
computeSize(ProtobufWriter out, int tagSize, Object[] value)
int
computeSize(ProtobufWriter out, int tagSize, Stream<T> value)
protected void
convertObjectTo(ProtobufWriter out, EnMember member, Object[] value)
protected void
convertPrimitivedTo(ProtobufWriter out, EnMember member, Object[] value)
void
convertTo(ProtobufWriter out, EnMember member, Stream<T> value)
-
从类继承的方法 org.redkale.convert.StreamEncoder
checkInited, convertTo, getComponentEncoder, getComponentType, getType, specifyable
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.redkale.convert.Encodeable
convertTo, getType, specifyable
-
-
-
-
构造器详细资料
-
ProtobufStreamEncoder
public ProtobufStreamEncoder(ConvertFactory factory, Type type)
-
-
方法详细资料
-
convertTo
public void convertTo(ProtobufWriter out, @Nonnull EnMember member, Stream<T> value)
- 指定者:
convertTo
在接口中ProtobufEncodeable<ProtobufWriter,Stream<T>>
- 覆盖:
convertTo
在类中StreamEncoder<ProtobufWriter,T>
-
convertObjectTo
protected void convertObjectTo(ProtobufWriter out, @Nonnull EnMember member, Object[] value)
-
convertPrimitivedTo
protected void convertPrimitivedTo(ProtobufWriter out, @Nonnull EnMember member, Object[] value)
-
computeSize
public int computeSize(ProtobufWriter out, int tagSize, Stream<T> value)
- 指定者:
computeSize
在接口中ProtobufEncodeable<ProtobufWriter,Stream<T>>
-
computeSize
protected int computeSize(ProtobufWriter out, int tagSize, Object[] value)
-
-