Skip to main content

BufferedStream

Assembly: ServiceStack.Redis.dll
View Source
Declaration
public sealed class BufferedStream : Stream

Properties

CanRead

View Source
Declaration
public override bool CanRead { get; }

CanSeek

View Source
Declaration
public override bool CanSeek { get; }

CanWrite

View Source
Declaration
public override bool CanWrite { get; }

Position

View Source
Declaration
public override long Position { get; set; }

Length

View Source
Declaration
public override long Length { get; }

Methods

Read(Byte[], Int32, Int32)

View Source
Declaration
public override int Read(byte[] buffer, int offset, int length)
Returns

System.Int32

Parameters
TypeName
System.Byte[]buffer
System.Int32offset
System.Int32length

Write(Byte[], Int32, Int32)

View Source
Declaration
public override void Write(byte[] buffer, int offset, int length)
Parameters
TypeName
System.Byte[]buffer
System.Int32offset
System.Int32length

Flush()

View Source
Declaration
public override void Flush()

SetLength(Int64)

View Source
Declaration
public override void SetLength(long length)
Parameters
TypeName
System.Int64length

Seek(Int64, SeekOrigin)

View Source
Declaration
public override long Seek(long position, SeekOrigin origin)
Returns

System.Int64

Parameters
TypeName
System.Int64position
SeekOriginorigin