BufferUtils.length

Get remaining from null checked buffer

@param buffer The buffer to get the remaining from, in flush mode. @return 0 if the buffer is null, else the bytes remaining in the buffer.

class BufferUtils
static
int
length

Meta