MCPcopy Create free account
hub / github.com/apache/trafficserver / write_avail

Method write_avail

include/iocore/eventsystem/IOBuffer.h:348–352  ·  view source on GitHub ↗

Space available in the buffer. Returns the number of bytes that can be written to the data buffer. @return space available for writing in this IOBufferBlock. */

Source from the content-addressed store, hash-verified

346 @return space available for writing in this IOBufferBlock.
347 */
348 int64_t
349 write_avail()
350 {
351 return static_cast<int64_t>(_buf_end - _end);
352 }
353
354 /**
355 Size of the memory allocated by the underlying IOBufferData.

Callers 4

remainingMethod · 0.45
aux_spanMethod · 0.45
commitMethod · 0.45
first_write_blockMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected