Package io.protostuff.runtime
Class ArraySchemas.FloatArray
java.lang.Object
io.protostuff.runtime.PolymorphicSchema
io.protostuff.runtime.ArraySchemas.Base
io.protostuff.runtime.ArraySchemas.FloatArray
- Enclosing class:
ArraySchemas
-
Nested Class Summary
Nested classes/interfaces inherited from class io.protostuff.runtime.PolymorphicSchema
PolymorphicSchema.Factory, PolymorphicSchema.Handler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Pipe.Schema
<Object> (package private) final boolean
Fields inherited from class io.protostuff.runtime.ArraySchemas.Base
allowNullArrayElement, handler
Fields inherited from class io.protostuff.runtime.PolymorphicSchema
strategy
-
Constructor Summary
ConstructorsConstructorDescriptionFloatArray
(IdStrategy strategy, PolymorphicSchema.Handler handler, boolean primitive) -
Method Summary
Modifier and TypeMethodDescriptionThe pipe schema associated with this schema.protected Object
readBoxedFrom
(Input input, Object owner, int len) protected Object
readPrimitiveFrom
(Input input, Object owner, int len) protected void
writeLengthTo
(Output output, int len, boolean primitive) void
Serializes a message/object to theoutput
.protected void
Methods inherited from class io.protostuff.runtime.ArraySchemas.Base
getFieldName, getFieldNumber, mergeFrom, messageFullName, messageName, setValue
Methods inherited from class io.protostuff.runtime.PolymorphicSchema
isInitialized, newMessage, typeClass
-
Field Details
-
pipeSchema
-
primitive
final boolean primitive
-
-
Constructor Details
-
FloatArray
FloatArray(IdStrategy strategy, PolymorphicSchema.Handler handler, boolean primitive)
-
-
Method Details
-
getPipeSchema
Description copied from class:PolymorphicSchema
The pipe schema associated with this schema.- Specified by:
getPipeSchema
in classPolymorphicSchema
-
readPrimitiveFrom
- Throws:
IOException
-
readBoxedFrom
- Throws:
IOException
-
readFrom
- Specified by:
readFrom
in classArraySchemas.Base
- Throws:
IOException
-
writeLengthTo
- Throws:
IOException
-
writeTo
- Throws:
IOException
-
writeTo
Description copied from interface:Schema
Serializes a message/object to theoutput
.- Throws:
IOException
-