Ankh.HTTP2.Frame.decode

You're seeing just the function decode, go back to Ankh.HTTP2.Frame module for more information.
Link to this function

decode(frame, data, options \\ [])

Specs

decode(t(), binary(), options()) :: {:ok, t()} | {:error, any()}

Decodes a binary into a frame struct

Parameters:

  • struct: struct using Ankh.HTTP2.Frame
  • binary: data to decode into the struct
  • options: options to pass as context to the decoding function