42 |
|
|
43 |
public class DirectByteBufferImpl extends ByteBuffer |
public class DirectByteBufferImpl extends ByteBuffer |
44 |
{ |
{ |
45 |
private RawData address; |
RawData address; |
46 |
private int offset; |
private int offset; |
47 |
private boolean readOnly; |
private boolean readOnly; |
48 |
|
|
49 |
|
public DirectByteBufferImpl (RawData address, long len) |
50 |
|
{ |
51 |
|
this (address, 0, (int) len, (int) len, 0, -1, false); |
52 |
|
} |
53 |
|
|
54 |
public DirectByteBufferImpl (RawData address, int offset, int capacity, |
public DirectByteBufferImpl (RawData address, int offset, int capacity, |
55 |
int limit, int position, int mark, |
int limit, int position, int mark, |
56 |
boolean readOnly) |
boolean readOnly) |