Table of Contents

Method MaxPrecisionForFixedSize

Namespace
AvroSharp.Schemas
Assembly
AvroSharp.dll

MaxPrecisionForFixedSize(int)

Gets the largest precision a fixed of size bytes can hold: floor(log10(2^(8 * size - 1) - 1)).

public static int MaxPrecisionForFixedSize(int size)

Parameters

size int

The fixed size in bytes.

Returns

int