go on study Bytebuf , some fuction I can't understand