Avro C#
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | Properties | List of all members
Avro.Generic.GenericFixed Class Reference

The default type used by GenericReader and GenericWriter for objects for FixedSchema. More...

Inheritance diagram for Avro.Generic.GenericFixed:
Avro.Specific.SpecificFixed

Public Member Functions

 GenericFixed (FixedSchema schema)
 Initializes a new instance of the GenericFixed class.
 
 GenericFixed (FixedSchema schema, byte[] value)
 Initializes a new instance of the GenericFixed class with a value.
 
override bool Equals (object obj)
 
override int GetHashCode ()
 

Protected Member Functions

 GenericFixed (uint size)
 Initializes a new instance of the GenericFixed class with a size.
 

Protected Attributes

readonly byte[] value
 Value of this fixed.
 

Properties

FixedSchema Schema [get, set]
 Schema for this fixed.
 
byte[] Value [get, set]
 Value of this fixed.
 

Detailed Description

The default type used by GenericReader and GenericWriter for objects for FixedSchema.

Constructor & Destructor Documentation

◆ GenericFixed() [1/3]

Avro.Generic.GenericFixed.GenericFixed ( FixedSchema  schema)
inline

Initializes a new instance of the GenericFixed class.

Parameters
schemaSchema for this fixed.

◆ GenericFixed() [2/3]

Avro.Generic.GenericFixed.GenericFixed ( FixedSchema  schema,
byte[]  value 
)
inline

Initializes a new instance of the GenericFixed class with a value.

Parameters
schemaSchema for this fixed.
valueValue of the fixed.

◆ GenericFixed() [3/3]

Avro.Generic.GenericFixed.GenericFixed ( uint  size)
inlineprotected

Initializes a new instance of the GenericFixed class with a size.

Parameters
sizeSize of the fixed in bytes.

The documentation for this class was generated from the following file: