Commit ffe29d0
Fix RawParser: set proper size estimate for payload
So far the fixed page size has been used to calculate the size of the payload,
simply because of the lack of information at the time of implmenting the parser.
The variable size of the payload is stored in the member memorySize in both
RDH v4 and v5. Since the raw parser does only supports those two versions at
the moment, the fix can be applied as it is. there is no need to support RDH v2
which has a member blockLength.1 parent 011c75e commit ffe29d0
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
121 | | - | |
| 120 | + | |
122 | 121 | | |
123 | 122 | | |
124 | 123 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
0 commit comments