convert_hex 0.1.0 copy "convert_hex: ^0.1.0" to clipboard
convert_hex: ^0.1.0 copied to clipboard

outdated

Hexadecimal conversion for easier adjustment

Installing #

dependencies:
  convert_hex: ^0.1.0

Example #

import 'package:convert_hex/convert_hex.dart';

void main() {
    Hex.decode("2BB9"); //11193
    Hex.decode("1aef2"); //110322

    Hex.encode(2019); //7E3
    Hex.encode(78895); //1342F

    //charDecode => String a-f,A-F
    Hex.charDecode("f"); //15
    Hex.charDecode("A"); //10
    Hex.charDecode("h"); //0
    //charEncode => int 10-15
    Hex.charEncode(10); //A
    Hex.charEncode(3); //0
}
0
likes
0
pub points
61%
popularity

Publisher

unverified uploader

Hexadecimal conversion for easier adjustment

Homepage

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on convert_hex