Class SIPStreamWrapper
Inheritance
System.Object
SIPStreamWrapper
Implements
System.IDisposable
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.SIP
Assembly: SIPSorcery.dll
Syntax
public sealed class SIPStreamWrapper : IDisposable
Constructors
| Improve this Doc View SourceSIPStreamWrapper(Stream)
Declaration
public SIPStreamWrapper(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream |
Methods
| Improve this Doc View SourceBeginRead(Byte[], Int32, Int32, AsyncCallback, Object)
Declaration
public IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | buffer | |
System.Int32 | offset | |
System.Int32 | count | |
System.AsyncCallback | callback | |
System.Object | state |
Returns
Type | Description |
---|---|
System.IAsyncResult |
Dispose()
Declaration
public void Dispose()
EndRead(IAsyncResult)
Declaration
public int EndRead(IAsyncResult asyncResult)
Parameters
Type | Name | Description |
---|---|---|
System.IAsyncResult | asyncResult |
Returns
Type | Description |
---|---|
System.Int32 |
WriteAsync(Byte[], Int32, Int32)
Declaration
public Task WriteAsync(byte[] buffer, int offset, int count)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | buffer | |
System.Int32 | offset | |
System.Int32 | count |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Implements
System.IDisposable