Codec
PTPRegistry
Type:object
BaseCodecType
Type:"int8" | "uint8" | "int16" | "uint16" | "int32" | "uint32" | "int64" | "uint64" | "string"
CustomCodecType
Type:"enum" | "range" | "array" | "custom"
CodecInstance
BaseCodecRegistry
Properties
| Property | Type | Required |
|---|---|---|
| int8 | CodecInstance<number> | ✓ |
| uint8 | CodecInstance<number> | ✓ |
| int16 | CodecInstance<number> | ✓ |
| uint16 | CodecInstance<number> | ✓ |
| int32 | CodecInstance<number> | ✓ |
| uint32 | CodecInstance<number> | ✓ |
| int64 | CodecInstance<bigint> | ✓ |
| uint64 | CodecInstance<bigint> | ✓ |
| string | CodecInstance<string> | ✓ |
CodecBuilder
Type:unknown
CodecDefinition
Type:CodecBuilder<T> | CodecInstance<T>
EnumValue
Type:object
RangeSpec
Properties
| Property | Type | Required |
|---|---|---|
| minimum | T | ✓ |
| maximum | T | ✓ |
| step | T | ✓ |
BitfieldFlag
Type:object
CodecType
Type:unknown