Skip to content

Commit 5c70f21

Browse files
pcjdibenede
authored andcommitted
remove writeZigzagVarint64BigInt
1 parent ec3bc7f commit 5c70f21

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

binary/encoder.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -190,15 +190,6 @@ class BinaryEncoder {
190190
utils.splitZigzag64(value);
191191
this.writeSplitVarint64(utils.getSplit64Low(), utils.getSplit64High());
192192
}
193-
194-
/**
195-
* Encodes a BigInt into its wire-format, zigzag-encoded varint
196-
* representation and stores it in the buffer.
197-
* @param {bigint} value The BigInt to convert.
198-
*/
199-
writeZigzagVarint64BigInt(value) {
200-
this.writeZigzagVarint64String(value.toString());
201-
}
202193

203194
/**
204195
* Encodes a JavaScript decimal string into its wire-format, zigzag-encoded

0 commit comments

Comments
 (0)