Binary integer representation utilities.