Class ByteWriter.Floats
java.lang.Object
org.apache.sis.internal.storage.io.ByteWriter
org.apache.sis.internal.storage.io.ByteWriter.Floats
- Enclosing class:
ByteWriter
Writer for
float values.- Since:
- 1.0
- Version:
- 1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final FloatBufferThe buffers between which to transfer data.private final FloatBufferThe buffers between which to transfer data. -
Constructor Summary
ConstructorsConstructorDescriptionFloats(FloatBuffer source, ByteBuffer target) Creates a new writer for the given source. -
Method Summary
Methods inherited from class ByteWriter
create, create
-
Field Details
-
source
The buffers between which to transfer data. -
target
The buffers between which to transfer data.
-
-
Constructor Details
-
Floats
Floats(FloatBuffer source, ByteBuffer target) Creates a new writer for the given source.
-
-
Method Details
-
write
public int write()Write bytes.- Specified by:
writein classByteWriter- Returns:
- the number of bytes copied, or 0 if done.
-