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