Table of Contents

Method WriteDecimalFixed

Namespace
AvroSharp.Serialization
Assembly
AvroSharp.dll

WriteDecimalFixed(ref AvroWriter, decimal, int, int, int)

Writes a decimal on fixed, sign-extended to the fixed size.

public static void WriteDecimalFixed(ref AvroWriter writer, decimal value, int scale, int precision, int size)

Parameters

writer AvroWriter

The destination.

value decimal

The value; it must have at most scale fractional digits and precision digits.

scale int

The schema's scale.

precision int

The schema's precision.

size int

The fixed type's size.