Skip to content

Commit

Permalink
#239 Fixup.
Browse files Browse the repository at this point in the history
  • Loading branch information
yruslan committed Feb 10, 2020
1 parent 534bcb1 commit 498f440
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ class VarOccursRecordExtractor (inputStream: SimpleStream, copybook: Copybook) e
extractGroup(useOffset, grp)
case st: Primitive =>
if (st.isDependee) {
ensureBytesRead(useOffset + field.binaryProperties.actualSize)
val value = st.decodeTypeValue(useOffset, bytes)
if (value != null) {
val intVal: Int = value match {
Expand Down

0 comments on commit 498f440

Please sign in to comment.