java.nio.buffer
public final 鏂規硶
- capacity()
- position()
- postition(int)
- limit()
- limit(int)
- mark()
- reset()
- clear()
- flip()
- rewind()
- remaining()
- hasremaining()
鎬葷粨錛氳繖浜涙槸Buffer浣滀負瀹瑰櫒鐨勫熀鏈壒寰侊紝涓庡唴閮ㄦ斁鐨勫唴瀹規棤鍏?br />
public abstract 鏂規硶
- isReadOnly()
- hasArray()
- array()
- arrayOffset()
- isDirect()
榪欎簺鏂規硶絳夊緟瀛愮被榪涜瑕嗗啓
protected final 鏂規硶
- nextGetIndex()
- nextGetIndex(int)
- nextPutIndex()
- nextPutIndex(int)
- checkIndex(int)
- checkIndex(int,int)
- markValue()
鎬葷粨錛氳繖浜涙柟娉曚粎渚涘瓙綾誨唴閮ㄤ嬌鐢?br />
protected 鏂規硶
checkBounds(int off, int len, int size);
鍒ゆ柇鏄惁鍚屾椂瀛樺湪錛歰ff>=0, len>=0, (off+len)>=size錛屼笉瀛樺湪鍒欐姤IndexOutOfBoundsException寮傚父
瀹為檯涓婅繕瑕佸悓鏃朵繚璇?off+len)涓嶈兘瓚呰繃Integer.MAX_VALUE鑰屽彉涓鴻礋鏁?br />

]]>