Method | Description | |
---|---|---|
KafkaBinaryReader ( |
Initializes a new instance of the KafkaBinaryReader class using big endian bytes order for primive types and UTF-8 encoding for strings.
|
|
Read ( ) : int |
Reads four-bytes signed integer from the current stream using big endian bytes order and advances the stream position by four bytes
|
|
ReadInt16 ( ) : short |
Reads two-bytes signed integer from the current stream using big endian bytes order and advances the stream position by two bytes
|
|
ReadInt32 ( ) : int |
Reads four-bytes signed integer from the current stream using big endian bytes order and advances the stream position by four bytes
|
|
ReadInt64 ( ) : long |
Reads eight-bytes signed integer from the current stream using big endian bytes order and advances the stream position by eight bytes
|
|
ReadTopic ( string encoding ) : string |
Reads fixed-length topic from underlying stream using given encoding.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Resets position pointer.
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | /// Not used /// |
return | void |
public KafkaBinaryReader ( |
||
input | /// The input stream. /// | |
return | System.IO |
public ReadTopic ( string encoding ) : string | ||
encoding | string | /// The encoding to use. /// |
return | string |