bin function Null safety
- String s
Converts a binary String representation to a binary int.
Ignores all '_' in the provided binary.
Implementation
int bin(String s) => _unsignedBinaryParse(s.replaceAll('_', ''));
Converts a binary String representation to a binary int.
Ignores all '_' in the provided binary.
int bin(String s) => _unsignedBinaryParse(s.replaceAll('_', ''));