buffer to object
buffer 数据
转换器
const _protoBuffer = _proto.lookupType('MonitorMessage');const obj = buf2obj(event.data, _protoBuffer);console.log(obj); Copy
const _protoBuffer = _proto.lookupType('MonitorMessage');const obj = buf2obj(event.data, _protoBuffer);console.log(obj);
buffer to object