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

Method openBufferedStream

output/java_guava/1.4.17/ByteSink.java:93–98  ·  view source on GitHub ↗

Opens a new buffered OutputStream for writing to this sink. The returned stream is not required to be a BufferedOutputStream in order to allow implementations to simply delegate to #openStream() when the stream returned by that method does not benefit from additional bufferin

()

Source from the content-addressed store, hash-verified

91
92
93 public OutputStream openBufferedStream() throws IOException {
94 OutputStream out = openStream();
95 return (out instanceof BufferedOutputStream)
96 ? (BufferedOutputStream) out
97 : new BufferedOutputStream(out);
98 }
99
100 /**
101 * Writes all the given bytes to this sink.

Callers

nothing calls this directly

Calls 1

openStreamMethod · 0.95

Tested by

no test coverage detected