pub fn encode_pv_request(fields: &[&str], is_be: bool) -> Vec<u8> ⓘExpand description
Build a pvRequest structure for the given top-level field names.
Produces the byte sequence that a client sends inside an INIT request to
select which fields to subscribe to, e.g.
encode_pv_request(&["value", "alarm", "timeStamp"], false) produces the
equivalent of field(value,alarm,timeStamp).
The output is the full type-described pvRequest structure: a 0xFD /
0x80 tag followed by the structure descriptor and empty-struct field values.