parseRange

https://tools.ietf.org/html/rfc7233

Range can be in form "-\d", "\d-" or "\d-\d"

@safe
ulong[2]
parseRange
(
string range
,
ulong maxSize
)

Meta