Programming language: Kotlin
License: MIT License
Tags: Graphics    
Latest version: v3.2.6

kotlin-unsigned alternatives and similar libraries

Based on the "Graphics" category.
Alternatively, view kotlin-unsigned alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of kotlin-unsigned or a related project?

Add another 'Graphics' Library



Build Status license Release Size Github All Releases

[comment]: <> ([![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg&#41;]&#40;code_of_conduct.md&#41; )

[comment]: <> ([![Netlify Status](https://api.netlify.com/api/v1/badges/c75db044-f985-47a3-84a1-73ad33401596/deploy-status&#41;]&#40;https://app.netlify.com/sites/unsigned/deploys&#41;)

Unsigned operators and boxed types (Ubyte, Uint, Ulong and Ushort) for unsigned support.

To have a quick idea what this library offers, take a look at the tests

Differences with kotlin stdlib:

  • this project uses classes instead inline classes. To address this in critical scenarios where allocations may have a sensitive impact, primitive variable holding the utype value is a var, so you can re-use the same istance over and over again
  • utypes extend Number abstract class
  • automatic conversions
  • it is possible to string format by calling the corresponding format() method, eg: ubyte.format("%08x")
  • all the utypes implement all the function, including shl and shr for Ubyte and Ushort
  • if you add an Ushort to another Ushort you get an Ushort (and not an Uint)

How to retrieve it:

You can find all the instructions by mary


Don't hesitate to contribute to the project by submitting issues or pull requests for bugs and features. Any feedback is welcome at [[email protected]](mailto://[email protected]).


*Note that all licence references and agreements mentioned in the kotlin-unsigned README section above are relevant to that project's source code only.