public BufferBuilder append ( ClientProtocolBuffer srcBuffer , int srcOffset , int length ) { ensureCapacity ( length ) ; srcBuffer . getBytes ( srcOffset , protocolBuffer . byteArray ( ) , position , length ) ; position += length ; return this ; }
Append a source buffer to the end of the internal buffer resizing the internal buffer as required .