ENG-4881 Fix getCookedBytes() for legacy.