Make sure to use the value() in computation, and not the internal _length which also merges in the bitfields for type(!!!) Also add some (likely somewhat excessive) comments explaining what the code is doing. BUG:138394
Changed paths: