Loader.fromBuffer

Construct a Loader to load YAML from a buffer.

  1. Loader fromBuffer(ubyte[] yamlData)
    struct Loader
    static @safe
    fromBuffer
    (
    ubyte[] yamlData
    )
  2. Loader fromBuffer(void[] yamlData)
  3. this(void[] yamlData, string name)
  4. this(ubyte[] yamlData, string name)

Throws

YAMLException if yamlData contains data illegal in YAML.

Meta