Searched refs:mBaseOffset (Results 1 – 2 of 2) sorted by relevance
102 private int mBaseOffset; field in Encoder134 mBaseOffset = bufferInformation.dataEnd; in Encoder()160 mEncoderState.byteBuffer.put(mBaseOffset + offset, v); in encode()168 byte encodedValue = mEncoderState.byteBuffer.get(mBaseOffset + offset); in encode()170 mEncoderState.byteBuffer.put(mBaseOffset + offset, encodedValue); in encode()178 mEncoderState.byteBuffer.putShort(mBaseOffset + offset, v); in encode()185 mEncoderState.byteBuffer.putInt(mBaseOffset + offset, v); in encode()192 mEncoderState.byteBuffer.putFloat(mBaseOffset + offset, v); in encode()199 mEncoderState.byteBuffer.putLong(mBaseOffset + offset, v); in encode()206 mEncoderState.byteBuffer.putDouble(mBaseOffset + offset, v); in encode()[all …]
113 private final int mBaseOffset; field in Decoder132 mBaseOffset = baseOffset; in Decoder()141 mValidator.claimMemory(mBaseOffset, mBaseOffset + DataHeader.HEADER_SIZE); in readDataHeader()144 mValidator.claimMemory(mBaseOffset + DataHeader.HEADER_SIZE, mBaseOffset + result.size); in readDataHeader()254 return mMessage.getData().get(mBaseOffset + offset); in readByte()270 return mMessage.getData().getShort(mBaseOffset + offset); in readShort()278 return mMessage.getData().getInt(mBaseOffset + offset); in readInt()286 return mMessage.getData().getFloat(mBaseOffset + offset); in readFloat()294 return mMessage.getData().getLong(mBaseOffset + offset); in readLong()302 return mMessage.getData().getDouble(mBaseOffset + offset); in readDouble()[all …]