code: public void addUnsignedShort( int value ) {
  
          if ( 2 + length < capacity ) {
              DynamicByteBufferHelper.unsignedShortTo( buffer, length, value );
          } else {
              buffer = DynamicByteBufferHelper.grow( buffer, buffer.length * 2 + 2 );
              capacity = buffer.length;
  
              DynamicByteBufferHelper.unsignedShortTo( buffer, length, value );
          }
  
          length += 2;
  
  
      }
docs: Adds the unsigned short.
  
  @param value the value