solana_kit_codecs_strings 0.2.1 copy "solana_kit_codecs_strings: ^0.2.1" to clipboard
solana_kit_codecs_strings: ^0.2.1 copied to clipboard

String codecs for the Solana Kit Dart SDK.

example/main.dart

// Examples intentionally print CLI output for demonstration purposes.
// ignore_for_file: avoid_print

import 'package:solana_kit_codecs_strings/solana_kit_codecs_strings.dart';

void main() {
  final codec = getBase10Codec();

  final encoded = codec.encode('1024');
  final decoded = codec.decode(encoded);

  print('Encoded base10 bytes: $encoded');
  print('Decoded base10 string: $decoded');
}
0
likes
150
points
122
downloads

Publisher

unverified uploader

Weekly Downloads

String codecs for the Solana Kit Dart SDK.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

solana_kit_codecs_core, solana_kit_codecs_numbers, solana_kit_errors

More

Packages that depend on solana_kit_codecs_strings