https://grandslambids.com/tag/java-generate-byte-of-size/