View on GitHub

BufferStream Class

A wrapper of the Buffer exposing the functionality as a Stream.

Syntax

public class BufferStream : System.IO.Stream

Remarks

This class enables the developer to use buffers as Streams utilizing various other tools to fill the Buffers with data. Only writing is supported.

Requirements

Namespace: Sundown
Assembly: SundownNet (in SundownNet.dll)
Assembly Versions: 1.15.12.0

Members

See Also: Inherited members from System.IO.Stream.

Public Constructors

Creates a new buffer stream.

Public Properties

Buffer Buffer . The buffer which was supplied with the constructor.
[read-only]
override
CanRead bool . Documentation for this section has not yet been entered.
[read-only]
override
CanSeek bool . Documentation for this section has not yet been entered.
[read-only]
override
CanWrite bool . Documentation for this section has not yet been entered.
[read-only]
override
Length long . Documentation for this section has not yet been entered.
override
Position long . Documentation for this section has not yet been entered.

Public Methods

override
Flush ()
Flushes the stream.
override
Read (byte[], int, int) : int
Documentation for this section has not yet been entered.
override
Seek (long, System.IO.SeekOrigin) : long
Documentation for this section has not yet been entered.
override
SetLength (long)
Documentation for this section has not yet been entered.
override
Write (byte[], int, int)
Documentation for this section has not yet been entered.

Member Details

BufferStream Constructor

Creates a new buffer stream.

Syntax

public BufferStream (Buffer buffer)

Parameters

buffer
The Buffer to use to create a new buffer stream.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Sundown
Assembly: SundownNet (in SundownNet.dll)
Assembly Versions: 1.15.12.0

Buffer Property

The buffer which was supplied with the constructor.

Syntax

public Buffer Buffer { get; protected set; }

Value

Returns the buffer which is used.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Sundown
Assembly: SundownNet (in SundownNet.dll)
Assembly Versions: 1.15.12.0

CanRead Property

Documentation for this section has not yet been entered.

Syntax

public override bool CanRead { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Sundown
Assembly: SundownNet (in SundownNet.dll)
Assembly Versions: 1.15.12.0

CanSeek Property

Documentation for this section has not yet been entered.

Syntax

public override bool CanSeek { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Sundown
Assembly: SundownNet (in SundownNet.dll)
Assembly Versions: 1.15.12.0

CanWrite Property

Documentation for this section has not yet been entered.

Syntax

public override bool CanWrite { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Sundown
Assembly: SundownNet (in SundownNet.dll)
Assembly Versions: 1.15.12.0

Flush Method

Flushes the stream.

Syntax

public override void Flush ()

Remarks

Is a no op, because everything get's written immediately to the memory.

Requirements

Namespace: Sundown
Assembly: SundownNet (in SundownNet.dll)
Assembly Versions: 1.15.12.0

Length Property

Documentation for this section has not yet been entered.

Syntax

public override long Length { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Sundown
Assembly: SundownNet (in SundownNet.dll)
Assembly Versions: 1.15.12.0

Position Property

Documentation for this section has not yet been entered.

Syntax

public override long Position { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Sundown
Assembly: SundownNet (in SundownNet.dll)
Assembly Versions: 1.15.12.0

Read Method

Documentation for this section has not yet been entered.

Syntax

public override int Read (byte[] buffer, int offset, int count)

Parameters

buffer
Documentation for this section has not yet been entered.
offset
Documentation for this section has not yet been entered.
count
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Sundown
Assembly: SundownNet (in SundownNet.dll)
Assembly Versions: 1.15.12.0

Seek Method

Documentation for this section has not yet been entered.

Syntax

public override long Seek (long offset, System.IO.SeekOrigin origin)

Parameters

offset
Documentation for this section has not yet been entered.
origin
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Sundown
Assembly: SundownNet (in SundownNet.dll)
Assembly Versions: 1.15.12.0

SetLength Method

Documentation for this section has not yet been entered.

Syntax

public override void SetLength (long value)

Parameters

value
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Sundown
Assembly: SundownNet (in SundownNet.dll)
Assembly Versions: 1.15.12.0

Write Method

Documentation for this section has not yet been entered.

Syntax

public override void Write (byte[] buffer, int offset, int count)

Parameters

buffer
Documentation for this section has not yet been entered.
offset
Documentation for this section has not yet been entered.
count
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Sundown
Assembly: SundownNet (in SundownNet.dll)
Assembly Versions: 1.15.12.0