Lines Matching refs:byteBuffer
91 * @param byteBuffer the buffer containing the binary header data
93 public PerfDataBufferPrologue(ByteBuffer byteBuffer)
95 super(byteBuffer);
111 byteBuffer.position(PERFDATA_PROLOG_ACCESSIBLE_OFFSET);
112 byte value = byteBuffer.get();
122 byteBuffer.position(PERFDATA_PROLOG_USED_OFFSET);
123 return byteBuffer.getInt();
132 return byteBuffer.capacity();
144 byteBuffer.position(PERFDATA_PROLOG_OVERFLOW_OFFSET);
145 return byteBuffer.getInt();
157 byteBuffer.position(PERFDATA_PROLOG_MODTIMESTAMP_OFFSET);
158 return byteBuffer.getLong();
165 byteBuffer.position(PERFDATA_PROLOG_ENTRYOFFSET_OFFSET);
166 return byteBuffer.getInt();
173 byteBuffer.position(PERFDATA_PROLOG_NUMENTRIES_OFFSET);
174 return byteBuffer.getInt();
193 byteBuffer.position(PERFDATA_PROLOG_USED_OFFSET);
194 IntBuffer ib = byteBuffer.asIntBuffer();
209 ib.put(byteBuffer.capacity());
222 byteBuffer.position(PERFDATA_PROLOG_OVERFLOW_OFFSET);
223 IntBuffer ib = byteBuffer.asIntBuffer();
237 byteBuffer.position(PERFDATA_PROLOG_MODTIMESTAMP_OFFSET);
238 LongBuffer lb = byteBuffer.asLongBuffer();
252 byteBuffer.position(PERFDATA_PROLOG_NUMENTRIES_OFFSET);
253 IntBuffer ib = byteBuffer.asIntBuffer();