integer 1.0.0 copy "integer: ^1.0.0" to clipboard
integer: ^1.0.0 copied to clipboard

outdated

Use custom bitwidth integers like uint16 or int32 seamlessly via getters and datatypes

Integer #

Use Dart's native integers in custom bitwidth integer format.

32423445435.int32 /// -1936292933

Remember to enclose negative integer literals like -34644 or -89 in parenthesis to tell Dart that the getters should be called for the entire literal. Like this

(-98723447).uint16 /// 39305

Custom Bit-Width #

Provide a custom bit-width to convert the integer to that format

(-4567233343).intX(22) /// 363713
(-4567233343).uintX(48) /// 281470409477313
3
likes
0
points
54
downloads

Publisher

verified publisheraldrinsartfactory.com

Weekly Downloads

Use custom bitwidth integers like uint16 or int32 seamlessly via getters and datatypes

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on integer