static CoderResult overflow ( CharBuffer input , int i , CharBuffer output , int j ) { input . position ( i - input . arrayOffset ( ) ) ; output . position ( j - output . arrayOffset ( ) ) ; return CoderResult . OVERFLOW ; }
Internal helper method to properly position buffers after encoding up until an overflow .