Table of Contents

Class QuantAttribute

Namespace
Typhon.Protocol
Assembly
Typhon.Protocol.dll

A message field quantized over [min, max) at a given number of bits.

[AttributeUsage(AttributeTargets.Field, Inherited = false)]
public sealed class QuantAttribute : CodecDeclarationAttribute
Inheritance
QuantAttribute
Inherited Members

Constructors

QuantAttribute(double, double, int)

A quantized field.

public QuantAttribute(double min, double max, int bits)

Parameters

min double

The lower bound.

max double

The upper bound.

bits int

8, 16, 24 or 32.