This is wrapped in a try catch for no such element, so that nothing, less than four bytes for the int, less than the bytes length, are all handled together.