confluent-kafka-dotnet
Show / Hide Table of Contents

Class AvroDecimalExtensions

Lossless conversions between Avro's AvroDecimal and the core BigDecimal.

Inheritance
object
AvroDecimalExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Confluent.SchemaRegistry.Serdes
Assembly: Confluent.SchemaRegistry.Serdes.Avro.dll
Syntax
public static class AvroDecimalExtensions

Methods

ToAvroDecimal(BigDecimal)

Declaration
public static AvroDecimal ToAvroDecimal(this BigDecimal value)
Parameters
Type Name Description
BigDecimal value
Returns
Type Description
AvroDecimal

ToBigDecimal(AvroDecimal)

Declaration
public static BigDecimal ToBigDecimal(this AvroDecimal value)
Parameters
Type Name Description
AvroDecimal value
Returns
Type Description
BigDecimal
In this article