available


Description:

public size_t available ()

Gets the maximum amount of bytes available, that is it returns the maximum value that can be supplied to map without that function returning null.

Calling map with the amount of bytes returned by this function may require expensive operations (like copying the data into a temporary buffer) in some cases.

Parameters:

this

a Adapter

Returns:

number of bytes available in this