Home

Traffic Server Software Developers Kit

INKIOBufferReaderAvail

Gets the number of bytes available for reading.

Prototype

int INKIOBufferReaderAvail (INKIOBufferReader readerp)

Description

Gets the total number of bytes available for reading by the IO buffer reader, readerp.

Returns

The number of bytes available for reading.

INK_ERROR if an error occurs.