private static void encodeCopy ( ByteBuf out , int offset , int length ) { while ( length >= 68 ) { encodeCopyWithOffset ( out , offset , 64 ) ; length -= 64 ; } if ( length > 64 ) { encodeCopyWithOffset ( out , offset , 60 ) ; length -= 60 ; } encodeCopyWithOffset ( out , offset , length ) ; }
Encodes a series of copies each at most 64 bytes in length .