tmf.ctf: Accelerate ByteArrayDefintion parsing
[deliverable/tracecompass.git] / ctf / org.eclipse.tracecompass.ctf.core / src / org / eclipse / tracecompass / internal / ctf / core / event / types / ByteArrayDefinition.java
index abc0f334df0e0f4dd9a0514a27c30de346d3ede4..4964bfed45b42d3b150610c5313dc3e24a6f764a 100644 (file)
@@ -109,4 +109,14 @@ public final class ByteArrayDefinition extends AbstractArrayDefinition {
         b.append(']');
         return checkNotNull(b.toString());
     }
+
+    /**
+     * Get a byte of the byte array
+     * @param index the index of the byte
+     *
+     * @return the byte
+     */
+    public byte getByte(int index) {
+        return fContent[index];
+    }
 }
\ No newline at end of file
This page took 0.024598 seconds and 5 git commands to generate.