Lines Matching defs:byteBuffer
21 import java.nio.ByteBuffer;
37 private static void readIntArray(int[] data, ByteBuffer buffer) {
50 ByteBuffer byteBuffer =
51 ByteBuffer.wrap(data).order(ByteOrder.nativeOrder());
53 byte wasSerialized = byteBuffer.get();
57 chunk.mDivX = new int[byteBuffer.get()];
58 chunk.mDivY = new int[byteBuffer.get()];
59 chunk.mColor = new int[byteBuffer.get()];
65 byteBuffer.getInt();
66 byteBuffer.getInt();
68 chunk.mPaddings.left = byteBuffer.getInt();
69 chunk.mPaddings.right = byteBuffer.getInt();
70 chunk.mPaddings.top = byteBuffer.getInt();
71 chunk.mPaddings.bottom = byteBuffer.getInt();
74 byteBuffer.getInt();
76 readIntArray(chunk.mDivX, byteBuffer);
77 readIntArray(chunk.mDivY, byteBuffer);
78 readIntArray(chunk.mColor, byteBuffer);