输入要素:要进行缓冲的输入点、线或面要素。也可以是注记,注记图层的缓冲是注记图形的缓冲。
只有当receive buffer为空时,blocking模式才会等待,而nonblock模式下会立即返回-1(errno = EAGAIN或EWOULDBLOCK)
#pragma once/// A buffer class modeled after org.jboss.netty.buffer.ChannelBuffer////// @code/// +-------------------+------------------+------------------...