StdFileStream.peek - multiple declarations
- Function StdFileStream.peek
- Function StdFileStream.peek
- Function StdFileStream.peek
- Function StdFileStream.peek
Function StdFileStream.peek
Returns a temporary reference to the data that is currently buffered.
The returned slice typically has the size leastSize()
or 0
if
dataAvailableForRead()
returns false. Streams that don't have an
internal buffer will always return an empty
slice.
Note that any method invocation on the same stream potentially invalidates the contents of the returned buffer.
Prototype
override const(ubyte)[] peek();
Function StdFileStream.peek
Returns a temporary reference to the data that is currently buffered.
The returned slice typically has the size leastSize()
or 0
if
dataAvailableForRead()
returns false. Streams that don't have an
internal buffer will always return an empty
slice.
Note that any method invocation on the same stream potentially invalidates the contents of the returned buffer.
Prototype
override const(ubyte)[] peek();
Function StdFileStream.peek
Returns a temporary reference to the data that is currently buffered.
The returned slice typically has the size leastSize()
or 0
if
dataAvailableForRead()
returns false. Streams that don't have an
internal buffer will always return an empty
slice.
Note that any method invocation on the same stream potentially invalidates the contents of the returned buffer.
Prototype
override const(ubyte)[] peek();
Function StdFileStream.peek
Returns a temporary reference to the data that is currently buffered.
The returned slice typically has the size leastSize()
or 0
if
dataAvailableForRead()
returns false. Streams that don't have an
internal buffer will always return an empty
slice.
Note that any method invocation on the same stream potentially invalidates the contents of the returned buffer.
Prototype
override const(ubyte)[] peek();
Authors
Sönke Ludwig, Eric Cornelius
Copyright
© 2014 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.