Method WriteDecimalBytes
- Namespace
- AvroSharp.Serialization
- Assembly
- AvroSharp.dll
WriteDecimalBytes(ref AvroWriter, decimal, int, int)
Writes a decimal on bytes, using the fewest bytes that hold the unscaled value.
public static void WriteDecimalBytes(ref AvroWriter writer, decimal value, int scale, int precision)
Parameters
writerAvroWriterThe destination.
valuedecimalThe value; it must have at most
scalefractional digits andprecisiondigits.scaleintThe schema's scale.
precisionintThe schema's precision.