C# Class Helios.Buffers.AbstractDerivedByteBuffer

Abstract base class for buffer implementation that wrap other IByteBufs internally, such as DuplicateByteBuf and more.
Inheritance: Helios.Buffers.AbstractByteBuf
显示文件 Open project: helios-io/helios

Public Methods

Method Description
GetIoBuffer ( int index, int length ) : ArraySegment
Release ( ) : bool
Release ( int decrement ) : bool
Retain ( ) : IReferenceCounted
Retain ( int increment ) : IReferenceCounted
Touch ( ) : IReferenceCounted
Touch ( object hint ) : IReferenceCounted

Protected Methods

Method Description
AbstractDerivedByteBuffer ( int maxCapacity ) : System

Method Details

AbstractDerivedByteBuffer() protected method

protected AbstractDerivedByteBuffer ( int maxCapacity ) : System
maxCapacity int
return System

GetIoBuffer() public method

public GetIoBuffer ( int index, int length ) : ArraySegment
index int
length int
return ArraySegment

Release() public method

public Release ( ) : bool
return bool

Release() public method

public Release ( int decrement ) : bool
decrement int
return bool

Retain() public method

public Retain ( ) : IReferenceCounted
return IReferenceCounted

Retain() public method

public Retain ( int increment ) : IReferenceCounted
increment int
return IReferenceCounted

Touch() public method

public Touch ( ) : IReferenceCounted
return IReferenceCounted

Touch() public method

public Touch ( object hint ) : IReferenceCounted
hint object
return IReferenceCounted