MCPcopy Index your code
hub / github.com/apache/tomcat / setBytes

Method setBytes

java/org/apache/tomcat/util/buf/MessageBytes.java:146–151  ·  view source on GitHub ↗

Sets the content to the specified sub array of bytes. @param b the bytes @param off the start offset of the bytes @param len the length of the bytes

(byte[] b, int off, int len)

Source from the content-addressed store, hash-verified

144 * @param len the length of the bytes
145 */
146 public void setBytes(byte[] b, int off, int len) {
147 byteC.setBytes(b, off, len);
148 type = T_BYTES;
149 hasHashCode = false;
150 hasLongValue = false;
151 }
152
153 /**
154 * Sets the content to be a char[]

Callers 6

testMethod · 0.95
testPerformance01Method · 0.95
doTestNormalizeMethod · 0.95
prepareRequestMethod · 0.95
prepareRequestMethod · 0.95
toBytesMethod · 0.45

Calls

no outgoing calls

Tested by 3

testMethod · 0.76
testPerformance01Method · 0.76
doTestNormalizeMethod · 0.76