MCPcopy Create free account
hub / github.com/antlr/codebuff / toInt

Method toInt

output/java_guava/1.4.18/UnsignedBytes.java:76–78  ·  view source on GitHub ↗

Returns the value of the given byte as an integer, when treated as unsigned. That is, returns value + 256 if value is negative; value itself otherwise. @since 6.0

(byte value)

Source from the content-addressed store, hash-verified

74
75
76 public static int toInt(byte value) {
77 return value & UNSIGNED_MASK;
78 }
79
80 /**
81 * Returns the {@code byte} value that, when treated as unsigned, is equal to {@code value}, if

Callers 10

saturatedCastMethod · 0.95
compareMethod · 0.95
minMethod · 0.95
maxMethod · 0.95
toStringMethod · 0.95
joinMethod · 0.95
readMethod · 0.95
readFromMethod · 0.95
processRemainingMethod · 0.45
processRemainingMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected