Packages
exprotobuf provides native encoding/decoding of protobuf messages via generated modules/structs.
Current section
Files
Jump to
Current section
Files
lib/serializable.ex
defprotocol Protobuf.Serializable do
@moduledoc """
Defines the contract for serializing protobuf messages.
"""
@doc """
Serializes the provided object as a protobuf message in binary form.
"""
def serialize(object)
end