bytebin 1.0.5 copy "bytebin: ^1.0.5" to clipboard
bytebin: ^1.0.5 copied to clipboard

A package for reading and working with, binary, bytes and different encodings

example/lib/main.dart

import 'package:bytebin/bytebin.dart';
import 'package:bytebin/hex_viewer.dart';
import 'package:example/app_theme.dart';
import 'package:example/data.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MainApp());
}

class MainApp extends StatelessWidget {
  const MainApp({super.key});

  @override
  Widget build(BuildContext context) {
    Bytebin bin = Bytebin.fromBase256('~.~4ge3g335fb35y3f');
    print(bin.hexadecimal);

    return MaterialApp(
      debugShowCheckedModeBanner: false,
      themeMode: ThemeMode.system,
      theme: AppTheme.dark(),
      home: Scaffold(
        body: Center(
          child: HexViewer(
            data: demoData,
            config: HexConfig(groupSize: 8, bytesPerLine: 32),
          ),
        ),
      ),
    );
  }
}
0
likes
0
points
416
downloads

Publisher

unverified uploader

Weekly Downloads

A package for reading and working with, binary, bytes and different encodings

Repository

Topics

#binary #codecs #bytes #ascii #encoding

License

unknown (license)

Dependencies

base_x, flutter, plugin_platform_interface, recollect

More

Packages that depend on bytebin

Packages that implement bytebin