Protox v0.17.0 Protox.Default View Source

Default values of Protocol Buffers types. For protobuf2, it’s useful to get the default values which have been set to nil, that is which were not present on the wire.

Link to this section Summary

Functions

Returns the default value of a Protocol Buffer type specified with an atom

Link to this section Functions

Link to this function default(arg1) View Source
default(atom) :: false | 0 | binary | nil | atom

Returns the default value of a Protocol Buffer type specified with an atom.