C# Class RampUp.Buffers.ByteChunk

An ArraySegment{T} counterpart for unmanaged chunk of bytes.
Datei anzeigen Open project: Scooletz/RampUp Class Usage Examples

Public Properties

Property Type Description
Empty ByteChunk
Length int
Pointer byte*

Public Methods

Method Description
ByteChunk ( byte pointer, int length ) : System
Equals ( ByteChunk other ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
ToString ( ) : string

Method Details

ByteChunk() public method

public ByteChunk ( byte pointer, int length ) : System
pointer byte
length int
return System

Equals() public method

public Equals ( ByteChunk other ) : bool
other ByteChunk
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

ToString() public method

public ToString ( ) : string
return string

Property Details

Empty public_oe static_oe property

public static ByteChunk,RampUp.Buffers Empty
return ByteChunk

Length public_oe property

public int Length
return int

Pointer public_oe property

public byte* Pointer
return byte*