Streaming codec for double array
More...
Inherits Org.Apache.REEF.Wake.StreamingCodec.IStreamingCodec< double[]>.
Streaming codec for double array
double [] Org.Apache.REEF.Wake.StreamingCodec.CommonStreamingCodecs.DoubleArrayStreamingCodec.Read |
( |
IDataReader |
reader | ) |
|
|
inline |
Instantiate the class from the reader.
- Parameters
-
reader | The reader from which to read |
- Returns
- The double array read from the reader
async Task<double[]> Org.Apache.REEF.Wake.StreamingCodec.CommonStreamingCodecs.DoubleArrayStreamingCodec.ReadAsync |
( |
IDataReader |
reader, |
|
|
CancellationToken |
token |
|
) |
| |
|
inline |
Instantiate the class from the reader.
- Parameters
-
reader | The reader from which to read |
token | Cancellation token |
- Returns
- The double array read from the reader
void Org.Apache.REEF.Wake.StreamingCodec.CommonStreamingCodecs.DoubleArrayStreamingCodec.Write |
( |
double[] |
obj, |
|
|
IDataWriter |
writer |
|
) |
| |
|
inline |
Writes the double array to the writer.
- Parameters
-
obj | The double array to be encoded |
writer | The writer to which to write |
async Task Org.Apache.REEF.Wake.StreamingCodec.CommonStreamingCodecs.DoubleArrayStreamingCodec.WriteAsync |
( |
double[] |
obj, |
|
|
IDataWriter |
writer, |
|
|
CancellationToken |
token |
|
) |
| |
|
inline |
Writes the double array to the writer.
- Parameters
-
obj | The double array to be encoded |
writer | The writer to which to write |
token | Cancellation token |
The documentation for this class was generated from the following file: