code: public static void putStringValue(WsByteBuffer[] buff, String value, boolean bFlipLast) {
          if (null != value) {
              putByteArrayValue(buff, value.getBytes(), bFlipLast);
          }
      }
docs: Store a String into a wsbb[]. This will fill out each wsbb until
  all of the bytes are written. It will throw an exception if there
  is not enough space. Users must pass in a boolean to determine
  whether or not to flip() the last buffer -- i.e. pass in true if
  this is the only put you're doing, otherwise pass in false. Any
  intermediate buffers that are filled to capacity will be flip()'d
  automatically. A null input string will result in a no-op.
  
  @param buff
  @param value
  @param bFlipLast