YamlDotNet - A .NET library for parsing and emitting YAML
LookAheadBuffer Class
NamespacesYamlDotNet.CoreLookAheadBuffer

[This is preliminary documentation and is subject to change.]

Provides access to a stream and allows to peek at the next characters, up to the buffer's capacity.
Declaration Syntax
C#Visual BasicVisual C++
public class LookAheadBuffer : ILookAheadBuffer
Public Class LookAheadBuffer _
	Implements ILookAheadBuffer
public ref class LookAheadBuffer : ILookAheadBuffer
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
LookAheadBuffer(TextReader, Int32)
Initializes a new instance of the LookAheadBuffer class.

Cache(Int32)
Reads characters until at least length characters are in the buffer.

EndOfInput
Gets a value indicating whether the end of the input reader has been reached.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Peek(Int32)
Gets the character at thhe specified offset.

Skip(Int32)
Skips the next length characters. Those characters must have been obtained first by calling the Peek(Int32) or Cache(Int32) methods.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Remarks
This class implements a circular buffer with a fixed capacity.
Inheritance Hierarchy
Object
LookAheadBuffer

Assembly: YamlDotNet.Core (Module: YamlDotNet.Core) Version: 0.2.4456.17949