Function Auto-Adjust

Part of:

package org.rl-community.rl-glue-codec
( auto-adjust )
Checks whether the buffer has enough free space to store SIZE bytes.
If not, it automatically adjust the buffer.