You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fetch(api.user.create_my_address,fetchOption)
.then(async (response)=>{
let value = await response.text()
let buffer = Buffer.from(value);
console.log(buffer);
//Execute here to throw a exception
let resp = protos.RecommendMainPageResponse.deserializeBinary(buffer)
console.log(resp.getPostinfoList());
})
.catch((error)=>{
console.log(error)
})
.done();
The text was updated successfully, but these errors were encountered:
I have encountered some difficulties.
goog.asserts.AssertionError {message: "Failure: Invalid wire type", reportErrorToServer: true, messagePattern: "Failure: Invalid wire type", stack: "AssertionError: Failure: Invalid wire type↵ at …81/50a1c93a-aa23-44f1-8147-ea869bc10bee:62641:93)"}
I use protobuf on react-native。
The text was updated successfully, but these errors were encountered: