2019.5.3

2019.5.3

private byte[] loadClassBytes(String name) throws IOException{
        String cname = name.replace('.', '/')+".caesar";
        byte[] bytes = Files.readAllBytes(Paths.get(cname));
        for(int i=0;i<bytes.length;i++){
            bytes[i] = (byte) (bytes[i] - key);
        }
        return bytes;
    }

2019.5.3_第1张图片

你可能感兴趣的:(琉璃神社)