50 |
protected int offset; |
protected int offset; |
51 |
protected byte[] backing_buffer; |
protected byte[] backing_buffer; |
52 |
|
|
53 |
|
protected ByteBuffer (int capacity, int limit, int position, int mark) |
54 |
|
{ |
55 |
|
super (capacity, limit, position, mark); |
56 |
|
} |
57 |
|
|
58 |
/** |
/** |
59 |
* Allocates a new direct byte buffer. |
* Allocates a new direct byte buffer. |
60 |
*/ |
*/ |
92 |
return wrap (array, 0, array.length); |
return wrap (array, 0, array.length); |
93 |
} |
} |
94 |
|
|
|
protected ByteBuffer (int capacity, int limit, int position, int mark) |
|
|
{ |
|
|
super (capacity, limit, position, mark); |
|
|
} |
|
|
|
|
95 |
/** |
/** |
96 |
* This method transfers <code>bytes<code> from this buffer into the given |
* This method transfers <code>bytes<code> from this buffer into the given |
97 |
* destination array. |
* destination array. |