fix: pass offset to size
This commit is contained in:
parent
5626729669
commit
c0a1980fa9
|
@ -28,8 +28,8 @@ class Schema {
|
|||
return this.$$codec.encode(value, view, byteOffset);
|
||||
}
|
||||
|
||||
size(value) {
|
||||
return this.$$codec.size(value, 0);
|
||||
size(value, offset = 0) {
|
||||
return this.$$codec.size(value, offset);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user