vibe.d beta banner
get vibe.d
0.9.0

Asynchronous I/O that doesn’t get in your way, written in D

Function GenericPath.Segment2.fromTrustedEncodedString

Constructs a path segment without performing validation.

static GenericPath.Segment2 fromTrustedEncodedString (
  string encoded_name,
  char separator = '\x00'
) pure nothrow @nogc;

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

Parameters

NameDescription
encoded_name The encoded name of the path segment
separator Optional trailing path separator (e.g. '/')
Authors

Sönke Ludwig

Copyright

© 2012-2019 Sönke Ludwig

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.