Skip to content

Commit

Permalink
completely parse first event being read
Browse files Browse the repository at this point in the history
  • Loading branch information
carltimmer committed Nov 18, 2024
1 parent 765f7ed commit 8aadbec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/org/jlab/coda/jevio/EvioReaderUnsyncV6.java
Original file line number Diff line number Diff line change
Expand Up @@ -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) {}

Expand Down

0 comments on commit 8aadbec

Please sign in to comment.