MCPcopy Create free account
hub / github.com/Hiro420/NikkeTools / get

Method get

UnLuac/src/unluac/parse/LHeaderType.java:22–31  ·  view source on GitHub ↗
(Version.HeaderType type)

Source from the content-addressed store, hash-verified

20 public static final LHeaderType TYPE54 = new LHeaderType54();
21
22 public static LHeaderType get(Version.HeaderType type) {
23 switch(type) {
24 case LUA50: return TYPE50;
25 case LUA51: return TYPE51;
26 case LUA52: return TYPE52;
27 case LUA53: return TYPE53;
28 case LUA54: return TYPE54;
29 default: throw new IllegalStateException();
30 }
31 }
32
33 private static final byte[] luacTail = {
34 0x19, (byte) 0x93, 0x0D, 0x0A, 0x1A, 0x0A,

Callers 14

VersionMethod · 0.95
parse_formatMethod · 0.45
parse_endiannessMethod · 0.45
parse_int_sizeMethod · 0.45
parse_size_t_sizeMethod · 0.45
parse_number_sizeMethod · 0.45
parse_integer_sizeMethod · 0.45
parse_float_sizeMethod · 0.45
parse_extractorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected