Browse Source

Update protobuf.js

Lutz Roeder 3 năm trước cách đây
mục cha
commit
5822e8164d
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      source/protobuf.js

+ 2 - 2
source/protobuf.js

@@ -13,8 +13,8 @@ protobuf.get = (name) => {
 
 protobuf.BinaryReader = class {
 
-    static open(buffer) {
-        return new protobuf.BinaryReader(buffer);
+    static open(data) {
+        return new protobuf.BinaryReader(data);
     }
 
     constructor(data) {