HTTPRangeParser.Range (HTTP Range Parser v0.0.4) View Source

Link to this section Summary

Functions

Returns whether a range is satisfiable given a resource size.

Link to this section Types

Specs

t() :: %HTTPRangeParser.Range{first: integer(), last: integer() | nil}

Link to this section Functions

Link to this function

satisfiable?(range, size)

View Source

Specs

satisfiable?(t(), integer()) :: boolean()

Returns whether a range is satisfiable given a resource size.