Update interface.html

Use push instead of concat.
master
Andrew Gregory 2022-03-08 15:58:46 +08:00 committed by GitHub
parent 51744f842d
commit 915ad63947
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -405,7 +405,7 @@ class proto3decoder {
constructor(str) {
this.buf = [];
for (let i in str) {
this.buf = this.buf.concat(str.charCodeAt(i));
this.buf.push(str.charCodeAt(i));
}
}
getVarint() {