Fix build and implement basic, print_hexdump works with null instance