ソースを参照

Update protobuf.js

Lutz Roeder 3 年 前
コミット
5822e8164d
1 ファイル変更2 行追加2 行削除
  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) {