tuweni / org.apache.tuweni.units.bigints / BaseUInt384Value / copy

copy

protected open fun copy(): T (source)

Return a copy of this value, or itself if immutable.

The default implementation of this method returns a copy using the constructor for the concrete type and the bytes returned from #toBytes(). Most implementations will want to override this method to instead return this.

Return
T: A copy of this value, or itself if immutable.