Class MuxedStream
Namespace: k8s
Assembly: KubernetesClient.dll
Syntax
public class MuxedStream : Stream, IDisposable, IAsyncDisposable
Constructors
MuxedStream(StreamDemuxer, ByteBuffer, byte?)
Declaration
public MuxedStream(StreamDemuxer muxer, ByteBuffer inputBuffer, byte? outputIndex)
Parameters
| Type |
Name |
Description |
| StreamDemuxer |
muxer |
The StreamDemuxer to use to read from/write to the underlying stream.
|
| ByteBuffer |
inputBuffer |
The k8s.MuxedStream.inputBuffer to read from.
|
| byte? |
outputIndex |
The index of the channel to which to write.
|
Properties
CanRead
Declaration
public override bool CanRead { get; }
Property Value
Overrides
CanSeek
Declaration
public override bool CanSeek { get; }
Property Value
Overrides
CanWrite
Declaration
public override bool CanWrite { get; }
Property Value
Overrides
Length
Declaration
public override long Length { get; }
Property Value
Overrides
Position
Declaration
public override long Position { get; set; }
Property Value
Overrides
Methods
Dispose(bool)
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type |
Name |
Description |
| bool |
disposing |
|
Overrides
DisposeAsync()
Declaration
public ValueTask DisposeAsync()
Returns
Flush()
Declaration
public override void Flush()
Overrides
Read(byte[], int, int)
Declaration
public override int Read(byte[] buffer, int offset, int count)
Parameters
| Type |
Name |
Description |
| byte[] |
buffer |
|
| int |
offset |
|
| int |
count |
|
Returns
Overrides
Seek(long, SeekOrigin)
Declaration
public override long Seek(long offset, SeekOrigin origin)
Parameters
Returns
Overrides
SetLength(long)
Declaration
public override void SetLength(long value)
Parameters
| Type |
Name |
Description |
| long |
value |
|
Overrides
Write(byte[], int, int)
Declaration
public override void Write(byte[] buffer, int offset, int count)
Parameters
| Type |
Name |
Description |
| byte[] |
buffer |
|
| int |
offset |
|
| int |
count |
|
Overrides
Implements