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

A modern Dart package for working with the IP protocol stack (IPv4, IPv6, ICMP, TCP, UDP), updated for Dart 3.8 with improved type safety and null-safety support.

Super IP #

Pub Version Dart SDK

A modern Dart package for working with the IP protocol stack, including:

  • IPv4
  • IPv6
  • ICMP
  • TCP
  • UDP

Built on top of super_raw for high-performance binary encoding and decoding.


πŸš€ Features #

βœ… Fully null-safe
βœ… Compatible with Dart 3.8+
βœ… Implements low-level IP/TCP/UDP parsing and utilities
βœ… Provides a clean, type-safe API for raw network data


πŸ“¦ Installation #

Add to your pubspec.yaml:

dependencies:
  super_ip: ^0.1.0

Then run:

dart pub get

🧠 Example #

import 'package:super_ip/super_ip.dart';

void main() {
  final ipv4 = IPv4Packet.fromBytes([
    0x45, 0x00, 0x00, 0x54, // header + payload length
    // ...
  ]);

  print('Version: ${ipv4.version}');
  print('Source: ${ipv4.source}');
  print('Destination: ${ipv4.destination}');
}

🧩 Dependencies #

  • super_raw: efficient binary data manipulation.
  • meta: annotations for better type safety.

πŸ›  Development #

Run tests:

dart test

Run analysis:

dart analyze

πŸ“„ License #

MIT Β© 2025 dab246

0
likes
150
points
798
downloads

Publisher

unverified uploader

Weekly Downloads

A modern Dart package for working with the IP protocol stack (IPv4, IPv6, ICMP, TCP, UDP), updated for Dart 3.8 with improved type safety and null-safety support.

Repository (GitHub)
View/report issues

Topics

#ip #network #ipv4 #ipv6

Documentation

API reference

License

MIT (license)

Dependencies

meta, super_raw

More

Packages that depend on super_ip