module Gamegenie::Binary

Extended Modules

Defined in:

binary.cr

Constant Summary

BIN_TO_HEX = {"0000" => "0", "0001" => "1", "0010" => "2", "0011" => "3", "0100" => "4", "0101" => "5", "0110" => "6", "0111" => "7", "1000" => "8", "1001" => "9", "1010" => "A", "1011" => "B", "1100" => "C", "1101" => "D", "1110" => "E", "1111" => "F"}

Instance Method Summary

Instance Method Detail

def clean_bytes(bytes) #

[View source]
def format_bytes(bytes) #

[View source]
def to_hex(string_of_bytes) #

[View source]