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