public void putFloat(float x){
  bb.putFloat(space-=4,x);
}

public void putFloat ( float x ) { bb . putFloat ( space -= 4 , x ) ; }
add a ` float ` to the buffer , backwards from the current location . doesn ' t align nor check for space .
