code: public static DynamicByteBuffer create(byte[] buffer ) {
          DynamicByteBuffer buf = new DynamicByteBuffer( buffer.length );
          buf.buffer = buffer;
          return buf;
      }
docs: Creates the.
  
  @param buffer the buffer
  @return the dynamic byte buffer