@@ -209,9 +209,9 @@ public class ForeignPrimitives {
209 buf = null;
209 buf = null;
212− public static Integer idris_peek(Object buf, int offset) {
212+ public static byte idris_peek(Object buf, int offset) {
213 ByteBuffer buffer = (ByteBuffer)buf;
213 ByteBuffer buffer = (ByteBuffer)buf;
214− return Integer.valueOf(buffer.get(offset));
214+ return buffer.get(offset);
217 public static void idris_poke(Object buf, int offset, Object data) {
217 public static void idris_poke(Object buf, int offset, Object data) {