import { type IConversionOptions } from "https://deno.land/x/steam_trader@v0.4.0/types/protobuf.d.ts";
Conversion options as used by Type#toObject and Message.toObject.
Properties
Long conversion type.
Valid values are String
and Number
(the global types).
Defaults to copy the present value, which is a possibly unsafe number without and a Long with a long library.
Enum value conversion type.
Only valid value is String
(the global type).
Defaults to copy the present value, which is the numeric id.
Bytes value conversion type.
Valid values are Array
and (a base64 encoded) String
(the global types).
Defaults to copy the present value, which usually is a Buffer under node and an Uint8Array in the browser.