remaining

fun remaining(): Int

Returns the number of bytes remaining between position and limit.