| 
    Avro C#
    
   | 
 
Decoder for Avro binary format More...
  
Public Member Functions | |
| BinaryDecoder (Stream stream) | |
| Initializes a new instance of the BinaryDecoder class.  More... | |
| void | ReadNull () | 
| null is written as zero bytes  More... | |
| bool | ReadBoolean () | 
| a boolean is written as a single byte whose value is either 0 (false) or 1 (true).  More... | |
| int | ReadInt () | 
| int and long values are written using variable-length, zig-zag coding.  More... | |
| long | ReadLong () | 
| int and long values are written using variable-length, zig-zag coding.  More... | |
| byte[] | ReadBytes () | 
| Bytes are encoded as a long followed by that many bytes of data.  More... | |
| int | ReadEnum () | 
| Reads an enumeration.  More... | |
| long | ReadArrayStart () | 
| Reads the size of the first block of an array.  More... | |
| long | ReadArrayNext () | 
| Processes the next block of an array and returns the number of items in the block and let's the caller read those items.  More... | |
| long | ReadMapStart () | 
| Reads the size of the next block of map-entries.  More... | |
| long | ReadMapNext () | 
| Processes the next block of map entries and returns the count of them.  More... | |
| int | ReadUnionIndex () | 
| Reads the tag index of a union written by BinaryEncoder.WriteUnionIndex(int).  More... | |
| void | ReadFixed (byte[] buffer) | 
| Reads fixed sized binary object.  More... | |
| void | ReadFixed (byte[] buffer, int start, int length) | 
| Reads fixed sized binary object.  More... | |
| void | SkipNull () | 
| Skips over a null value.  More... | |
| void | SkipBoolean () | 
| Skips over a boolean value.  More... | |
| void | SkipInt () | 
| Skips over an int value.  More... | |
| void | SkipLong () | 
| Skips over a long value.  More... | |
| void | SkipFloat () | 
| Skips over a float value.  More... | |
| void | SkipDouble () | 
| Skips over a double value.  More... | |
| void | SkipBytes () | 
| Skips a byte-string written by BinaryEncoder.WriteBytes(byte[]).  More... | |
| void | SkipString () | 
| Skips a string written by BinaryEncoder.WriteString(string).  More... | |
| void | SkipEnum () | 
| Skips an enum value.  More... | |
| void | SkipUnionIndex () | 
| Skips a union tag index.  More... | |
| void | SkipFixed (int len) | 
| Skips a fixed value of a specified length.  More... | |
| float | ReadFloat () | 
| 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.  More... | |
| double | ReadDouble () | 
| 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.  More... | |
| string | ReadString () | 
| Reads a string written by BinaryEncoder.WriteString(string).  More... | |
| float | ReadFloat () | 
| 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.  More... | |
| double | ReadDouble () | 
| 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.  More... | |
| string | ReadString () | 
| Reads a string written by BinaryEncoder.WriteString(string).  More... | |
Decoder for Avro binary format
<content> Contains the netstandard2.0 specific functionality for BinaryDecoder. </content>
<content> Contains the netstandard2.1 and netcoreapp2.1 specific functionality for BinaryDecoder. </content>
      
  | 
  inline | 
Initializes a new instance of the BinaryDecoder class.
| stream | Stream to decode. | 
      
  | 
  inline | 
Processes the next block of an array and returns the number of items in the block and let's the caller read those items.
Implements Avro.IO.Decoder.
      
  | 
  inline | 
Reads the size of the first block of an array.
Implements Avro.IO.Decoder.
      
  | 
  inline | 
a boolean is written as a single byte whose value is either 0 (false) or 1 (true).
Implements Avro.IO.Decoder.
      
  | 
  inline | 
Bytes are encoded as a long followed by that many bytes of data.
Implements Avro.IO.Decoder.
      
  | 
  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.
Implements Avro.IO.Decoder.
      
  | 
  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.
Implements Avro.IO.Decoder.
      
  | 
  inline | 
      
  | 
  inline | 
Reads fixed sized binary object.
| buffer | Buffer to read the fixed value into. | 
Implements Avro.IO.Decoder.
      
  | 
  inline | 
Reads fixed sized binary object.
| buffer | Buffer to read the fixed value into. | 
| start | Position to start writing the fixed value to in the buffer . | 
| length | Number of bytes of the fixed to read. | 
Implements Avro.IO.Decoder.
      
  | 
  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.
Implements Avro.IO.Decoder.
      
  | 
  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.
Implements Avro.IO.Decoder.
      
  | 
  inline | 
int and long values are written using variable-length, zig-zag coding.
Implements Avro.IO.Decoder.
      
  | 
  inline | 
int and long values are written using variable-length, zig-zag coding.
Implements Avro.IO.Decoder.
      
  | 
  inline | 
Processes the next block of map entries and returns the count of them.
Implements Avro.IO.Decoder.
      
  | 
  inline | 
Reads the size of the next block of map-entries.
Implements Avro.IO.Decoder.
      
  | 
  inline | 
null is written as zero bytes
Implements Avro.IO.Decoder.
      
  | 
  inline | 
Reads a string written by BinaryEncoder.WriteString(string).
Implements Avro.IO.Decoder.
      
  | 
  inline | 
Reads a string written by BinaryEncoder.WriteString(string).
Implements Avro.IO.Decoder.
      
  | 
  inline | 
Reads the tag index of a union written by BinaryEncoder.WriteUnionIndex(int).
Implements Avro.IO.Decoder.
      
  | 
  inline | 
Skips over a boolean value.
Implements Avro.IO.Decoder.
      
  | 
  inline | 
Skips a byte-string written by BinaryEncoder.WriteBytes(byte[]).
Implements Avro.IO.Decoder.
      
  | 
  inline | 
Skips over a double value.
Implements Avro.IO.Decoder.
      
  | 
  inline | 
Skips an enum value.
Implements Avro.IO.Decoder.
      
  | 
  inline | 
Skips a fixed value of a specified length.
| len | Length of the fixed to skip. | 
Implements Avro.IO.Decoder.
      
  | 
  inline | 
Skips over a float value.
Implements Avro.IO.Decoder.
      
  | 
  inline | 
Skips over an int value.
Implements Avro.IO.Decoder.
      
  | 
  inline | 
Skips over a long value.
Implements Avro.IO.Decoder.
      
  | 
  inline | 
Skips over a null value.
Implements Avro.IO.Decoder.
      
  | 
  inline | 
Skips a string written by BinaryEncoder.WriteString(string).
Implements Avro.IO.Decoder.
      
  | 
  inline | 
Skips a union tag index.
Implements Avro.IO.Decoder.
 1.8.17