Skip to content

Commit

Permalink
feat: publish getFieldRanges
Browse files Browse the repository at this point in the history
  • Loading branch information
twoeths committed Sep 14, 2023
1 parent 0d60dd0 commit c575baa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ssz/src/type/container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ export class ContainerType<Fields extends Record<string, Type<unknown>>> extends
* - For fixed size fields re-uses the pre-computed values this.fieldRangesFixedLen
* - For variable size fields does a first pass over the fixed section to read offsets
*/
private getFieldRanges(data: DataView, start: number, end: number): BytesRange[] {
getFieldRanges(data: DataView, start: number, end: number): BytesRange[] {
if (this.variableOffsetsPosition.length === 0) {
// Validate fixed length container
const size = end - start;
Expand Down

0 comments on commit c575baa

Please sign in to comment.