Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ReadyTalk/avian
/ drain
Method
drain
classpath/java/io/BufferedOutputStream.java:27–32 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
25
}
26
27
private
void
drain() throws IOException {
28
if
(position > 0) {
29
out.write(buffer, 0, position);
30
position = 0;
31
}
32
}
33
34
public
void
write(
int
c) throws IOException {
35
if
(position >= buffer.length) {
Callers
2
write
Method · 0.95
flush
Method · 0.95
Calls
1
write
Method · 0.65
Tested by
no test coverage detected