MCPcopy Create free account
hub / github.com/Garten/sourcecraft / readForLength

Method readForLength

src/minecraft/reader/nbt/NbtReader.java:38–42  ·  view source on GitHub ↗
(int length)

Source from the content-addressed store, hash-verified

36 }
37
38 public void readForLength(int length) throws IOException {
39 for (int i = 0; i < length; i++) {
40 this.stream.readByte();
41 }
42 }
43
44 /**
45 * Reads tags without saving. Returns false if a TAG_END occurs.

Callers 3

skipTagAfterTitleMethod · 0.95
skipByteArrayMethod · 0.95
skipStringMethod · 0.95

Calls 1

readByteMethod · 0.80

Tested by

no test coverage detected