增加基本套结字函数和应用层缓冲的封装

Signed-off-by: hurley25 <liuhuan1992@gmail.com>