issues
search
liangcmwn
/
docs
mydocs on git
0
stars
0
forks
source link
Java NIO
#23
Open
liangcmwn
opened
5 years ago
liangcmwn
commented
5 years ago
flip() 读模式变为写模式,limit=current,position=0,mark=null
rewind() 用于重复读 position=0
clear() 清空,position=0, limit=capacity
compact() 未读内容拷贝到头部
mark(), 标记位置 mark=position,
reset 重置 position = mark