Searched refs:byteBuffer (Results 1 – 3 of 3) sorted by relevance
50 ByteBuffer byteBuffer = in deserialize() local53 byte wasSerialized = byteBuffer.get(); in deserialize()57 chunk.mDivX = new int[byteBuffer.get()]; in deserialize()58 chunk.mDivY = new int[byteBuffer.get()]; in deserialize()59 chunk.mColor = new int[byteBuffer.get()]; in deserialize()65 byteBuffer.getInt(); in deserialize()66 byteBuffer.getInt(); in deserialize()68 chunk.mPaddings.left = byteBuffer.getInt(); in deserialize()69 chunk.mPaddings.right = byteBuffer.getInt(); in deserialize()70 chunk.mPaddings.top = byteBuffer.getInt(); in deserialize()[all …]
192 ByteBuffer byteBuffer = mTempByteBuffer; in getArrayElement() local202 result[i] = byteBuffer.get(byteOffset); in getArrayElement()205 ShortBuffer shortBuffer = byteBuffer.asShortBuffer(); in getArrayElement()209 IntBuffer intBuffer = byteBuffer.asIntBuffer(); in getArrayElement()213 FloatBuffer floatBuffer = byteBuffer.asFloatBuffer(); in getArrayElement()
200 final ByteBuffer byteBuffer = ByteBuffer.allocate((int) file.length()); in getContents() local201 fileChannel.read(byteBuffer); in getContents()202 byteBuffer.rewind(); in getContents()203 CharBuffer charBuffer = Charset.defaultCharset().decode(byteBuffer); in getContents()