Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BuildCraft/BuildCraft
/ writeType
Method
writeType
common/buildcraft/lib/nbt/WrittenType.java:32–34 ·
view source on GitHub ↗
(ByteBuf bytes)
Source
from the content-addressed store, hash-verified
30
}
31
32
public
void
writeType(ByteBuf bytes) {
33
bytes.writeByte(numBytes - 1);
34
}
35
36
public
static
WrittenType readType(ByteBuf bytes) throws IOException {
37
byte val = bytes.readByte();
Callers
1
write
Method · 0.95
Calls
1
writeByte
Method · 0.45
Tested by
no test coverage detected