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