MCPcopy Create free account
hub / github.com/grpc/grpc-java / Code

Method Code

api/src/main/java/io/grpc/Status.java:212–215  ·  view source on GitHub ↗
(int value)

Source from the content-addressed store, hash-verified

210 private final byte[] valueAscii;
211
212 private Code(int value) {
213 this.value = value;
214 this.valueAscii = Integer.toString(value).getBytes(US_ASCII);
215 }
216
217 /**
218 * The numerical value of the code.

Callers

nothing calls this directly

Calls 2

getBytesMethod · 0.80
toStringMethod · 0.45

Tested by

no test coverage detected