Lob.decode

You're seeing just the function decode, go back to Lob module for more information.

Specs

decode(binary()) :: Lob.DecodedPacket.t() | no_return()

Decode a wire packet for consumption

The parts are returned in a struct compliant with the specification. Errors reflecting improperly decoded JSON are stored in the json field.