IMemoableReset Method

Restore a copied object state into this object.

Definition

Namespace: Org.BouncyCastle.Utilities
Assembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
void Reset(
	IMemoable other
)

Parameters

other  IMemoable
an object originally {@link #copy() copied} from an object of the same type as this instance.

Remarks

Implementations of this method should try to avoid or minimise memory allocation to perform the reset.

Exceptions

InvalidCastExceptionif the provided object is not of the correct type.
MemoableResetExceptionif the other parameter is in some other way invalid.

See Also