MCPcopy Create free account
hub / github.com/anons-org/opencar / loadBin

Method loadBin

src/main/java/com/far/vms/opencar/instruct/BinCode.java:16–21  ·  view source on GitHub ↗
(BinFile file)

Source from the content-addressed store, hash-verified

14 private List<Integer> codes = new ArrayList<>();
15
16 public void loadBin(BinFile file){
17 while (file.available() > 0) {
18 int code = file.readInt();
19 codes.add(code);
20 }
21 }
22
23 public int get(int pc){
24 return codes.get(pc);

Callers

nothing calls this directly

Calls 3

availableMethod · 0.80
readIntMethod · 0.80
addMethod · 0.80

Tested by

no test coverage detected