Table of Contents

Class GenericFixed

Namespace
AvroSharp.Generic
Assembly
AvroSharp.dll

A fixed value in the generic data model: a schema and exactly Size bytes.

public sealed class GenericFixed : IEquatable<GenericFixed>
Inheritance
GenericFixed
Implements
Inherited Members

Constructors

GenericFixed(FixedSchema, byte[])

Initializes a fixed value. The array is not copied.

Properties

Bytes

Gets the bytes.

Schema

Gets the fixed schema.

Methods

Equals(GenericFixed?)

Compares schema full names and bytes.

Equals(object?)

Determines whether the specified object is equal to the current object.

GetBytesUnsafe()

Gets the bytes as the underlying array (not a copy).

GetHashCode()

Serves as the default hash function.

ToString()

Returns a string that represents the current object.

See Also