646 |
public byte[] get() { |
public byte[] get() { |
647 |
return impl_ByteVector_get(getId()); |
return impl_ByteVector_get(getId()); |
648 |
} |
} |
649 |
|
/** Get the values from the vector as an array of ints. |
650 |
|
* Each integer is formed by packing 4 bytes. |
651 |
|
*/ |
652 |
|
public int[] getInts() { |
653 |
|
return impl_ByteVector_getInts(getId()); |
654 |
|
} |
655 |
|
|
656 |
} |
} |
657 |
/** Create a new bytevector of size 0. |
/** Create a new bytevector of size 0. |
673 |
String format) ; |
String format) ; |
674 |
static private native int impl_ByteVector_get(int id, int ind); |
static private native int impl_ByteVector_get(int id, int ind); |
675 |
static private native byte[] impl_ByteVector_get(int id); |
static private native byte[] impl_ByteVector_get(int id); |
676 |
|
static private native int[] impl_ByteVector_getInts(int id); |
677 |
|
|
678 |
//----------Misc |
//----------Misc |
679 |
|
|