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

Method appendByteChunk

java/org/apache/coyote/ajp/AjpMessage.java:179–187  ·  view source on GitHub ↗

Write a ByteChunk out at the current write position. A null ByteChunk is encoded as a string with length 0. @param bc The data to write

(ByteChunk bc)

Source from the content-addressed store, hash-verified

177 * @param bc The data to write
178 */
179 public void appendByteChunk(ByteChunk bc) {
180 if (bc == null) {
181 log.error(sm.getString("ajpmessage.null"), new NullPointerException());
182 appendInt(0);
183 appendByte(0);
184 return;
185 }
186 appendBytes(bc.getBytes(), bc.getStart(), bc.getLength());
187 }
188
189
190 /**

Callers 1

appendBytesMethod · 0.95

Calls 8

appendIntMethod · 0.95
appendByteMethod · 0.95
appendBytesMethod · 0.95
errorMethod · 0.65
getStringMethod · 0.65
getLengthMethod · 0.65
getBytesMethod · 0.45
getStartMethod · 0.45

Tested by

no test coverage detected