C# Class SocketServers.ByteArraySegmentHelpers

Mostra file Open project: vf1/serversockets

Public Methods

Method Description
CopyArrayFrom ( this dst, ArraySegment src ) : void
CopyArrayFrom ( this dst, ServerAsyncEventArgs e ) : void
CopyArrayFrom ( this dst, byte srcBuffer, int srcOffset, int srcCount ) : void
CopyArrayFrom ( this dst, int dstExtraOffset, ServerAsyncEventArgs e ) : void
CopyArrayFrom ( this dst, int dstExtraOffset, byte srcBuffer, int srcOffset, int srcCount ) : void
CopyArrayTo ( this src, ArraySegment dst ) : void
IsInvalid ( this segment ) : bool
IsValid ( this segment ) : bool

Method Details

CopyArrayFrom() public static method

public static CopyArrayFrom ( this dst, ArraySegment src ) : void
dst this
src ArraySegment
return void

CopyArrayFrom() public static method

public static CopyArrayFrom ( this dst, ServerAsyncEventArgs e ) : void
dst this
e ServerAsyncEventArgs
return void

CopyArrayFrom() public static method

public static CopyArrayFrom ( this dst, byte srcBuffer, int srcOffset, int srcCount ) : void
dst this
srcBuffer byte
srcOffset int
srcCount int
return void

CopyArrayFrom() public static method

public static CopyArrayFrom ( this dst, int dstExtraOffset, ServerAsyncEventArgs e ) : void
dst this
dstExtraOffset int
e ServerAsyncEventArgs
return void

CopyArrayFrom() public static method

public static CopyArrayFrom ( this dst, int dstExtraOffset, byte srcBuffer, int srcOffset, int srcCount ) : void
dst this
dstExtraOffset int
srcBuffer byte
srcOffset int
srcCount int
return void

CopyArrayTo() public static method

public static CopyArrayTo ( this src, ArraySegment dst ) : void
src this
dst ArraySegment
return void

IsInvalid() public static method

public static IsInvalid ( this segment ) : bool
segment this
return bool

IsValid() public static method

public static IsValid ( this segment ) : bool
segment this
return bool