question: public int writeKey ( OutputStream out ) throws IOException { out . write ( blockBuffer , keyOffset , klen ) ; return klen ; }
target:  Writing the key to the output stream. This method avoids copying key buffer from Scanner into user buffer, then writing to the output stream.