Document.valid

This function check's if the Document is a valid HiBON format

struct Document
const nothrow
valid
(,
const Reserved reserved = Yes.Reserved
,
const bool ignore_boundary_check = IGNORE_BOUNDARY_CHECK
)

Return Value

Error code of the validation