Use binary.{Little,Big}Endian constants
Fix missing type