public String encode(ByteBuffer aBuffer){
  byte[] buf=getBytes(aBuffer);
  return encode(buf);
}

public String encode ( ByteBuffer aBuffer ) { byte [ ] buf = getBytes ( aBuffer ) ; return encode ( buf ) ; }
260 * a ' streamless ' version of encode that simply takes a bytebuffer 261 * and returns a string containing the encoded buffer . 262 < p > 263 * the bytebuffer ' s position will be advanced to bytebuffer ' s limit . 264
