C# Class VVVV.Packs.Messaging.Serializing.OSCExtensions

Show file Open project: velcrome/vvvv-Message

Public Properties

Property Type Description
OSCEncoding System.Text.Encoding

Public Methods

Method Description
AsAddress ( string topic ) : string
AsTopic ( string address ) : string
FromOSC ( Stream stream, Dictionary parser, bool extendedMode = false ) : Message
FromOSC ( Stream stream, bool extendedMode = false, string messagePrefix = "", int contractAddress = 1 ) : Message
PeekAddress ( Stream stream ) : string
ToOSC ( this message, IEnumerable fields, bool extendedMode = false ) : Stream
ToOSC ( this message, bool extendedMode = false ) : Stream

Private Methods

Method Description
CommonPrefix ( string addresses ) : string

Method Details

AsAddress() public static method

public static AsAddress ( string topic ) : string
topic string
return string

AsTopic() public static method

public static AsTopic ( string address ) : string
address string
return string

FromOSC() public static method

public static FromOSC ( Stream stream, Dictionary parser, bool extendedMode = false ) : Message
stream Stream
parser Dictionary
extendedMode bool
return Message

FromOSC() public static method

public static FromOSC ( Stream stream, bool extendedMode = false, string messagePrefix = "", int contractAddress = 1 ) : Message
stream Stream
extendedMode bool
messagePrefix string
contractAddress int
return Message

PeekAddress() public static method

public static PeekAddress ( Stream stream ) : string
stream Stream
return string

ToOSC() public static method

public static ToOSC ( this message, IEnumerable fields, bool extendedMode = false ) : Stream
message this
fields IEnumerable
extendedMode bool
return Stream

ToOSC() public static method

public static ToOSC ( this message, bool extendedMode = false ) : Stream
message this
extendedMode bool
return Stream

Property Details

OSCEncoding public static property

public static Encoding,System.Text OSCEncoding
return System.Text.Encoding