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