Expand description
PVD (pvData) Encoding Helpers
Minimal encoder for NTScalar introspection and value updates.
Functionsยง
- decode_
pv_ request_ fields - Parse a pvRequest structure from the INIT body bytes and return the list of requested top-level field names.
- encode_
decoded_ value - Encode a
DecodedValueback to PVA wire bytes. - encode_
nt_ enum_ full - encode_
nt_ ndarray_ full - encode_
nt_ payload_ bitset - encode_
nt_ payload_ bitset_ parts - encode_
nt_ payload_ filtered - Encode only the fields of an
NtPayloadwhose names appear indesc. The bitset and value bytes are computed against the filtered descriptor so that a client that received the filtered INIT descriptor will decode them correctly. - encode_
nt_ payload_ full - encode_
nt_ scalar_ array_ full - encode_
nt_ scalar_ bitset - encode_
nt_ scalar_ bitset_ parts - encode_
nt_ scalar_ full - encode_
nt_ table_ full - encode_
pv_ request - Build a pvRequest structure for the given top-level field names.
- encode_
pv_ value - Encode a
PvValuetree to PVA wire bytes (values only, no descriptor). - encode_
size_ pvd - encode_
string_ pvd - encode_
structure_ desc - filter_
structure_ desc - Filter a
StructureDescto include only the listed top-level field names. Unknown names are silently ignored. Ifrequestedis empty the original descriptor is returned unchanged. - nt_
enum_ desc - nt_
ndarray_ desc - nt_
payload_ desc - nt_
scalar_ array_ desc - nt_
scalar_ desc - nt_
table_ desc - pv_
value_ desc - Build a
StructureDescfrom aPvValue::Structure.