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