java.nio.ByteBuffer中flip、rewind、clear方法的区别 http://www.blogjava.net/sdjxsgb/archive/2013/06/18/400703.html