Update tinyendian to 0.2.0
This commit is contained in:
parent
5757869e9a
commit
4cd437b1ae
2
dub.json
2
dub.json
|
@ -5,7 +5,7 @@
|
|||
"libs": [],
|
||||
"importPaths": ["source"],
|
||||
"license": "Boost 1.0",
|
||||
"dependencies": { "tinyendian" : { "version" : "~>0.1.0" } },
|
||||
"dependencies": { "tinyendian" : { "version" : "~>0.2.0" } },
|
||||
"homepage": "https://github.com/dlang-community/D-YAML",
|
||||
"copyright": "Copyright © 2011-2014, Ferdinand Majerech",
|
||||
"subPackages": [
|
||||
|
|
|
@ -91,7 +91,7 @@ final class Reader
|
|||
///
|
||||
/// Throws: ReaderException on a UTF decoding error or if there are
|
||||
/// nonprintable Unicode characters illegal in YAML.
|
||||
this(ubyte[] buffer) @trusted pure
|
||||
this(ubyte[] buffer) @safe pure
|
||||
{
|
||||
auto endianResult = fixUTFByteOrder(buffer);
|
||||
if(endianResult.bytesStripped > 0)
|
||||
|
|
Loading…
Reference in a new issue