소스 검색

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) {