ChunkBuffer Class

.NET Framework 4

Provides a simple buffer for data chunks.

Inheritance Hierarchy

System.Object
  Microsoft.AspNet.SignalR.Client.Transports.ServerSentEvents.ChunkBuffer

Namespace:  Microsoft.AspNet.SignalR.Client.Transports.ServerSentEvents
Assembly:  Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)

Syntax

'Declaration
Public Class ChunkBuffer
'Usage
Dim instance As ChunkBuffer
public class ChunkBuffer
public ref class ChunkBuffer
type ChunkBuffer =  class end
public class ChunkBuffer

The ChunkBuffer type exposes the following members.

Constructors

  Name Description
Public method ChunkBuffer Initializes a new instance of the ChunkBuffer class.

Top

Properties

  Name Description
Public property HasChunks Gets a value that indicates whether the chunk buffer contains data.

Top

Methods

  Name Description
Public method Add Appends data to the chunk buffer.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ReadLine Returns a line of data from the chunk buffer.
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.AspNet.SignalR.Client.Transports.ServerSentEvents Namespace