Extended the PR submitted by jihoonson to other places that could benefit from the same idea.
Checked to make sure that direct references to the internal private variables "cumBaseOffset" and "capacityBytes" were in final methods that also had a checkValid() or assertValid().
Extended the PR submitted by jihoonson to other places that could benefit from the same idea.
Checked to make sure that direct references to the internal private variables "cumBaseOffset" and "capacityBytes" were in final methods that also had a checkValid() or assertValid().