MCPcopy Index your code
hub / github.com/antlr/codebuff / newDataInput

Method newDataInput

output/java_guava/1.4.19/ByteStreams.java:252–254  ·  view source on GitHub ↗

Returns a new ByteArrayDataInput instance to read from the bytes array from the beginning.

(byte[] bytes)

Source from the content-addressed store, hash-verified

250
251
252 public static ByteArrayDataInput newDataInput(byte[] bytes) {
253 return newDataInput(new ByteArrayInputStream(bytes));
254 }
255
256 /**
257 * Returns a new {@link ByteArrayDataInput} instance to read from the {@code bytes} array,

Callers 2

getTeredoInfoMethod · 0.95
coerceToIntegerMethod · 0.95

Calls 2

checkPositionIndexMethod · 0.45
checkNotNullMethod · 0.45

Tested by

no test coverage detected