add getBytes to class Binary and remove tk dp ts from class Binary