Reader.this

Construct a Reader.

class Reader
@safe pure
this
(
ubyte[] buffer
,
string name = "<unknown>"
)

Parameters

name string

File name if the buffer is the contents of a file or "<unknown>" if the buffer is the contents of a string.

Throws

ReaderException on a UTF decoding error or if there are nonprintable Unicode characters illegal in YAML.

Meta