From 8aadbec07be049d7c5f7c577348dfd37cadbb1c2 Mon Sep 17 00:00:00 2001 From: carltimmer Date: Mon, 18 Nov 2024 17:38:18 -0500 Subject: [PATCH] completely parse first event being read --- java/org/jlab/coda/jevio/EvioReaderUnsyncV6.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/org/jlab/coda/jevio/EvioReaderUnsyncV6.java b/java/org/jlab/coda/jevio/EvioReaderUnsyncV6.java index 91df66e8..8f4be255 100644 --- a/java/org/jlab/coda/jevio/EvioReaderUnsyncV6.java +++ b/java/org/jlab/coda/jevio/EvioReaderUnsyncV6.java @@ -246,7 +246,7 @@ public void setParser(EventParser parser) { public EvioEvent getFirstEvent() { try { byte[] rawBytes = reader.getFirstEvent(); - return EvioReader.getEvent(rawBytes, 0, reader.getByteOrder()); + return EvioReader.parseEvent(rawBytes, 0, reader.getByteOrder()); } catch (EvioException e) {}