We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abf5acb commit aa7e5f3Copy full SHA for aa7e5f3
1 file changed
doc/codecs.md
@@ -87,11 +87,11 @@ export default class PositionCodec extends Codec {
87
88
offset += this.int8Codec.getByteLength();
89
90
- const duration = this.int16Codec.decode(buffer, offset);
+ const x = this.int16Codec.decode(buffer, offset);
91
92
offset += this.int16Codec.getByteLength();
93
94
- const position = this.int8Codec.decode(buffer, offset);
+ const y = this.int8Codec.decode(buffer, offset);
95
96
return { id, x, y };
97
}
0 commit comments