C# Class vtortola.WebSockets.Rfc6455.WebSocketFrameHeaderFlags

Afficher le fichier Open project: vtortola/WebSocketListener Class Usage Examples

Méthodes publiques

Méthode Description
GetBit ( byte aByte, int pos ) : bool
SetBit ( byte &aByte, int pos, bool value ) : void
ToBytes ( System.Int64 length, Byte buffer, Int32 offset ) : void
TryParse ( Byte buffer, Int32 offset, WebSocketFrameHeaderFlags &headerFlags ) : System.Boolean
WebSocketFrameHeaderFlags ( bool isComplete, WebSocketFrameOption option, WebSocketExtensionFlags extensionFlags ) : System

Private Methods

Méthode Description
WebSocketFrameHeaderFlags ( Byte byte1, Byte byte2, WebSocketFrameOption option ) : System

Method Details

GetBit() public static méthode

public static GetBit ( byte aByte, int pos ) : bool
aByte byte
pos int
Résultat bool

SetBit() public static méthode

public static SetBit ( byte &aByte, int pos, bool value ) : void
aByte byte
pos int
value bool
Résultat void

ToBytes() public méthode

public ToBytes ( System.Int64 length, Byte buffer, Int32 offset ) : void
length System.Int64
buffer Byte
offset System.Int32
Résultat void

TryParse() public static méthode

public static TryParse ( Byte buffer, Int32 offset, WebSocketFrameHeaderFlags &headerFlags ) : System.Boolean
buffer Byte
offset System.Int32
headerFlags WebSocketFrameHeaderFlags
Résultat System.Boolean

WebSocketFrameHeaderFlags() public méthode

public WebSocketFrameHeaderFlags ( bool isComplete, WebSocketFrameOption option, WebSocketExtensionFlags extensionFlags ) : System
isComplete bool
option WebSocketFrameOption
extensionFlags WebSocketExtensionFlags
Résultat System