Scanner.scanYAMLDirectiveNumberToSlice

private void scanYAMLDirectiveNumberToSlice(ref char[] slice, const Mark startMark) pure @safe

Scan a number from a YAML directive.

Assumes that the caller is building a slice in Reader, and puts the scanned characters into that slice.