@ Override protected void fillChunkHeader ( TempBuffer tBuf , int length ) { if ( length == 0 ) throw new IllegalStateException ( ) ; byte [ ] buffer = tBuf . buffer ( ) ; buffer [ 0 ] = ( byte ) ' ' ; buffer [ 1 ] = ( byte ) ' ' ; buffer [ 2 ] = hexDigit ( length >> 12 ) ; buffer [ 3 ] = hexDigit ( length >> 8 ) ; buffer [ 4 ] = hexDigit ( length >> 4 ) ; buffer [ 5 ] = hexDigit ( length ) ; buffer [ 6 ] = ( byte ) ' ' ; buffer [ 7 ] = ( byte ) ' ' ; }
Fills the chunk header .