public static void clearBufferArray ( WsByteBuffer [ ] list ) { if ( list != null ) { for ( int i = 0 ; i < list . length ; ++ i ) { if ( list [ i ] != null ) list [ i ] . clear ( ) ; } } }
Clear each buffer in an array of them .