Show / Hide Table of Contents

Class HepChunk

Inheritance
System.Object
HepChunk
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SIPSorcery.Net
Assembly: SIPSorcery.dll
Syntax
public class HepChunk

Methods

| Improve this Doc View Source

GetBytes(ChunkTypeEnum, Byte)

Gets the chunk bytes for a single byte chunk type.

Declaration
public static byte[] GetBytes(ChunkTypeEnum chunkType, byte val)
Parameters
Type Name Description
ChunkTypeEnum chunkType
System.Byte val
Returns
Type Description
System.Byte[]
| Improve this Doc View Source

GetBytes(ChunkTypeEnum, Byte[])

Gets the chunk bytes for an arbitrary payload.

Declaration
public static byte[] GetBytes(ChunkTypeEnum chunkType, byte[] payload)
Parameters
Type Name Description
ChunkTypeEnum chunkType
System.Byte[] payload
Returns
Type Description
System.Byte[]
| Improve this Doc View Source

GetBytes(ChunkTypeEnum, IPAddress)

Gets the chunk bytes for IP address type chunks.

Declaration
public static byte[] GetBytes(ChunkTypeEnum chunkType, IPAddress address)
Parameters
Type Name Description
ChunkTypeEnum chunkType
System.Net.IPAddress address
Returns
Type Description
System.Byte[]
| Improve this Doc View Source

GetBytes(ChunkTypeEnum, UInt16)

Gets the chunk bytes for an unsigned short chunk type.

Declaration
public static byte[] GetBytes(ChunkTypeEnum chunkType, ushort val)
Parameters
Type Name Description
ChunkTypeEnum chunkType
System.UInt16 val
Returns
Type Description
System.Byte[]
| Improve this Doc View Source

GetBytes(ChunkTypeEnum, UInt32)

Gets the chunk bytes for an unsigned int chunk type.

Declaration
public static byte[] GetBytes(ChunkTypeEnum chunkType, uint val)
Parameters
Type Name Description
ChunkTypeEnum chunkType
System.UInt32 val
Returns
Type Description
System.Byte[]

Extension Methods

JSONWriter.ToJson(Object)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX