UNPKG

@xmtp/proto

Version:

Protobuf client and generated classes for GRPC API

42 lines 1.09 kB
/* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; export const protobufPackage = "google.protobuf"; function createBaseEmpty() { return {}; } export const Empty = { encode(_, writer = _m0.Writer.create()) { return writer; }, decode(input, length) { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = createBaseEmpty(); while (reader.pos < end) { const tag = reader.uint32(); switch (tag >>> 3) { default: reader.skipType(tag & 7); break; } } return message; }, fromJSON(_) { return {}; }, toJSON(_) { const obj = {}; return obj; }, fromPartial(_) { const message = createBaseEmpty(); return message; }, }; if (_m0.util.Long !== Long) { _m0.util.Long = Long; _m0.configure(); } //# sourceMappingURL=empty.pb.js.map