private void setObjectSize ( @ NonNull final byte [ ] data , final int value ) { data [ 2 ] = ( byte ) ( value & 0xFF ) ; data [ 3 ] = ( byte ) ( ( value >> 8 ) & 0xFF ) ; data [ 4 ] = ( byte ) ( ( value >> 16 ) & 0xFF ) ; data [ 5 ] = ( byte ) ( ( value >> 24 ) & 0xFF ) ; }
Sets the object size in correct position of the data array .