No useful bit twiddling methods anywhere? But this is clear enough, so fine with me...