decode bitmap with byte array offsets.
fix build break