Click or drag to resize
ReadBuffer Methods

The ReadBuffer type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFill(Int32)
Ensures that count <= (Count - Index).
Public methodFill(Byte, Int32, Int32)
Reads exactly count bytes from the buffer.
Public methodFillAsync(Int32, CancellationToken)
Asynchronously ensures that count <= (Count - Index).
Public methodFillAsync(Byte, Int32, Int32, CancellationToken)
Asynchronously reads exactly count bytes from the buffer.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRead
Reads bytes into the buffer by calling the callback specified during construction exactly once.
Public methodRead(Byte, Int32, Int32)
Reads bytes from the buffer by calling the callback specified during construction at most once.
Public methodReadAsync(CancellationToken)
Asynchronously reads bytes into the buffer by calling the callback specified during construction exactly once.
Public methodReadAsync(Byte, Int32, Int32, CancellationToken)
Asynchronously reads bytes from the buffer by calling the callback specified during construction at most once.
Public methodReadUtf8
Reads an UTF-8-encoded string from the buffer.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also