Segment2.fromTrustedEncodedString

Constructs a path segment without performing validation.

Note that in debug builds, there are still assertions in place that verify that the provided values are valid.

struct Segment2
@safe static nothrow @nogc pure
fromTrustedEncodedString
(,
char separator = '\0'
)

Parameters

encoded_name string

The encoded name of the path segment

separator char

Optional trailing path separator (e.g. '/')

Meta