Table of Contents

Class AvroFixedAttribute

Namespace
AvroSharp.Serialization
Assembly
AvroSharp.dll

Makes a byte[] or Guid member a fixed type of Size bytes, instead of bytes or string.

[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]
public sealed class AvroFixedAttribute : Attribute
Inheritance
AvroFixedAttribute
Inherited Members

Constructors

AvroFixedAttribute(int)

Initializes a new instance of the AvroFixedAttribute class.

Properties

Name

Gets or sets the fixed type's name. The default is the member's name.

Namespace

Gets or sets the fixed type's namespace. The default is the record's.

Size

Gets the size in bytes.