Stripped Reader whitespace.

This commit is contained in:
Ferdinand Majerech 2014-07-21 09:56:41 +02:00
parent 9888925d23
commit 94919339fa

View file

@ -478,7 +478,8 @@ struct UTFBlockDecoder(size_t bufferSize_) if (bufferSize_ % 2 == 0)
}
///Get next character.
dchar getDChar() @safe
dchar getDChar()
@safe
{
if(buffer_.length)
{
@ -493,7 +494,8 @@ struct UTFBlockDecoder(size_t bufferSize_) if (bufferSize_ % 2 == 0)
}
///Get as many characters as possible, but at most maxChars. Slice returned will be invalidated in further calls.
const(dchar[]) getDChars(size_t maxChars = size_t.max) @safe
const(dchar[]) getDChars(size_t maxChars = size_t.max)
@safe
{
if(buffer_.length)
{