public interface BitSetUtil
Modifier and Type | Method and Description |
---|---|
boolean |
compress(BitSet bitSet,
PVStructure pvStructure)
Compress the bits in a BitSet related to a structure.
|
boolean compress(BitSet bitSet, PVStructure pvStructure)
For each structure: 1) If the bit for the structure is set then the bit for all subfields of the structure are cleared. 2) If the bit for the structure is not set but all immediate subfields have their bit set then the bit for the structure is set and the bits for all subfields are cleared.
Note that this is a recursive algorithm.
Channel Access can call this before sending data. It can then pass entire structures if the structure offset bit is set.
bitSet
- The bitSet for pvStructure.pvStructure
- Copyright © 2014. All Rights Reserved.