Skip to content

flutter-institute/byte_extensions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codemagic build status Pub Version

This package provides some helpful extensions for common types to convert them to and from their byte equivalents.

Features

This extension helps you easily convert int, double, and BigInt types into their various byte representations while controlling endianness.

For integer types, the extension support converting to the signed or unsigned bytes as a 64-, 32-, 16-, or 8-bit number.

For the double type, the extension supports converting to the IEEE-754 floating point values as a 64-bit double precision or 32-bit single precision number.

This exension also adds some helpers to make it a little faster to encode strings into their byte forms for a given encoding.

About

Extensions for handling common types and bytes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages