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.
✅ 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
Add to your pubspec.yaml:
dependencies:
super_ip: ^0.1.0Then run:
dart pub getimport '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}');
}Run tests:
dart testRun analysis:
dart analyzeMIT © 2025 dab246