-
-
Notifications
You must be signed in to change notification settings - Fork 9
usize
IsaacShelton edited this page Mar 21, 2022
·
1 revision
usize
represents the type of a value that holds lengths/sizes. It can hold values [0, 18446744073709551615]
.
Primitive Type | Bits | Size | Signed-ness | Possible Values | C Equivalent | Suffix |
---|---|---|---|---|---|---|
usize |
64 bits | 8 bytes | unsigned | 0..18,446,744,073,709,551,615 | size_t |
uz |
usize
is used to hold array lengths, file sizes, etc.