display the size of buffer, I would like to print all nonprintable characters as hex but that is going to be complex