encode_endian 1.0.0 encode_endian: ^1.0.0 copied to clipboard
A library can convert integer to big endian or little endian.
example/encode_endian_example.dart
import 'package:encode_endian/encode_endian.dart';
void main() {
print(encodeEndian(0x1234, 2));
}