Stripped Reader whitespace.
This commit is contained in:
parent
9888925d23
commit
94919339fa
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue