Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/tomcat
/ toReadMode
Method
toReadMode
java/org/apache/catalina/connector/OutputBuffer.java:915–917 ·
view source on GitHub ↗
(Buffer buffer)
Source
from the content-addressed store, hash-verified
913
}
914
915
private
void
toReadMode(Buffer buffer) {
916
buffer.limit(buffer.position()).reset();
917
}
918
919
private
void
toWriteMode(Buffer buffer) {
920
buffer.mark().position(buffer.limit()).limit(buffer.capacity());
Callers
1
transfer
Method · 0.95
Calls
3
position
Method · 0.80
reset
Method · 0.65
limit
Method · 0.45
Tested by
no test coverage detected