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

Method asByteSource

output/java_guava/1.4.17/Resources.java:58–60  ·  view source on GitHub ↗

Returns a ByteSource that reads from the given URL. @since 14.0

(URL url)

Source from the content-addressed store, hash-verified

56
57
58 public static ByteSource asByteSource(URL url) {
59 return new UrlByteSource(url);
60 }
61
62 /**
63 * A byte source that reads from a URL using {@link URL#openStream()}.

Callers 4

asByteSourceMethod · 0.95
asCharSourceMethod · 0.95
toByteArrayMethod · 0.95
copyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected