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
writerAvroWriterThe destination.
valuedecimalThe value; it must have at most
scalefractional digits andprecisiondigits.scaleintThe schema's scale.
precisionintThe schema's precision.
sizeintThe fixed type's size.