code: public static void flip(WsByteBuffer[] list) {
          if (list != null) {
              for (int i = 0; i < list.length; i++) {
                  if (list[i] != null) {
                      list[i].flip();
                  }
              }
          }
      }
docs: Flip all non null buffers in the array.
  
  @param list