|
Kinetica C# API
Version 7.2.3.0
|
Write leaf values. More...
Inheritance diagram for Avro.IO.BinaryEncoder:
Collaboration diagram for Avro.IO.BinaryEncoder:Public Member Functions | |
| BinaryEncoder () | |
| BinaryEncoder (Stream stream) | |
| void | WriteNull () |
| null is written as zero bytes More... | |
| void | WriteBoolean (bool b) |
| true is written as 1 and false 0. More... | |
| void | WriteInt (int value) |
| int and long values are written using variable-length, zig-zag coding. More... | |
| void | WriteLong (long value) |
| int and long values are written using variable-length, zig-zag coding. More... | |
| void | WriteFloat (float value) |
| A float is written as 4 bytes. More... | |
| void | WriteDouble (double value) |
| A double is written as 8 bytes. More... | |
| void | WriteBytes (byte[] value) |
| Bytes are encoded as a long followed by that many bytes of data. More... | |
| void | WriteString (string value) |
| A string is encoded as a long followed by that many bytes of UTF-8 encoded character data. More... | |
| void | WriteEnum (int value) |
| void | StartItem () |
| void | SetItemCount (long value) |
| void | WriteArrayStart () |
| void | WriteArrayEnd () |
| void | WriteMapStart () |
| void | WriteMapEnd () |
| void | WriteUnionIndex (int value) |
| void | WriteFixed (byte[] data) |
| void | WriteFixed (byte[] data, int start, int len) |
| void | Flush () |
Write leaf values.
Definition at line 27 of file BinaryEncoder.cs.
|
inline |
Definition at line 31 of file BinaryEncoder.cs.
|
inline |
Definition at line 35 of file BinaryEncoder.cs.
|
inline |
Definition at line 190 of file BinaryEncoder.cs.
|
inline |
Implements Avro.IO.Encoder.
Definition at line 142 of file BinaryEncoder.cs.
|
inline |
Implements Avro.IO.Encoder.
Definition at line 138 of file BinaryEncoder.cs.
|
inline |
Implements Avro.IO.Encoder.
Definition at line 151 of file BinaryEncoder.cs.
|
inline |
Implements Avro.IO.Encoder.
Definition at line 147 of file BinaryEncoder.cs.
|
inline |
true is written as 1 and false 0.
| b | Boolean value to write |
Implements Avro.IO.Encoder.
Definition at line 51 of file BinaryEncoder.cs.
|
inline |
Bytes are encoded as a long followed by that many bytes of data.
| value |
Implements Avro.IO.Encoder.
Definition at line 117 of file BinaryEncoder.cs.
|
inline |
A double is written as 8 bytes.
The double is converted into a 64-bit integer using a method equivalent to Java's doubleToLongBits and then encoded in little-endian format.
| value |
Implements Avro.IO.Encoder.
Definition at line 97 of file BinaryEncoder.cs.
|
inline |
Implements Avro.IO.Encoder.
Definition at line 133 of file BinaryEncoder.cs.
|
inline |
Implements Avro.IO.Encoder.
Definition at line 170 of file BinaryEncoder.cs.
|
inline |
Implements Avro.IO.Encoder.
Definition at line 175 of file BinaryEncoder.cs.
|
inline |
A float is written as 4 bytes.
The float is converted into a 32-bit integer using a method equivalent to Java's floatToIntBits and then encoded in little-endian format.
| value |
Implements Avro.IO.Encoder.
Definition at line 85 of file BinaryEncoder.cs.
|
inline |
int and long values are written using variable-length, zig-zag coding.
| datum |
Implements Avro.IO.Encoder.
Definition at line 60 of file BinaryEncoder.cs.
|
inline |
int and long values are written using variable-length, zig-zag coding.
| datum |
Implements Avro.IO.Encoder.
Definition at line 68 of file BinaryEncoder.cs.
|
inline |
Implements Avro.IO.Encoder.
Definition at line 160 of file BinaryEncoder.cs.
|
inline |
Implements Avro.IO.Encoder.
Definition at line 156 of file BinaryEncoder.cs.
|
inline |
null is written as zero bytes
Implements Avro.IO.Encoder.
Definition at line 43 of file BinaryEncoder.cs.
|
inline |
A string is encoded as a long followed by that many bytes of UTF-8 encoded character data.
| value |
Implements Avro.IO.Encoder.
Definition at line 128 of file BinaryEncoder.cs.
|
inline |
Implements Avro.IO.Encoder.
Definition at line 165 of file BinaryEncoder.cs.