NewUint32
Creates a new Uint32 object with the provided uint32 value.
def NewUint32(
v: uint32
) - > Uint32
Creates a new Uint32 object from a given unsigned 32-bit integer. This function is used to wrap a primitive uint32 value into a custom Uint32 type.
Parameters
| Name | Type | Description |
|---|---|---|
| v | uint32 | The unsigned 32-bit integer value to encapsulate within the new Uint32 object. |
Returns
| Type | Description |
|---|---|
Uint32 | A new Uint32 object initialized with the provided value. |