Summer.Batch.Extra.Sort.Legacy.BytesExtensions Class Reference

A utility class for manipulating bytes array More...

Static Public Member Functions

static int CompareTo (this byte[] bytes, byte[] other)
 Compare two byte arrays More...
 
static int CompareTo (this byte[] bytes, byte[] other, int start, int length)
 Compare two byte arrays on a given range More...
 
static byte[] SubArray (this byte[] bytes, int start, int length)
 Creates a sub array with the specified size. More...
 

Detailed Description

A utility class for manipulating bytes array

Member Function Documentation

static int Summer.Batch.Extra.Sort.Legacy.BytesExtensions.CompareTo ( this byte[]  bytes,
byte[]  other 
)
static

Compare two byte arrays

Parameters
bytesthe left byte array
otherthe right byte array
Returns
the result of the comparison
static int Summer.Batch.Extra.Sort.Legacy.BytesExtensions.CompareTo ( this byte[]  bytes,
byte[]  other,
int  start,
int  length 
)
static

Compare two byte arrays on a given range

Parameters
bytes
other
start
length
Returns
static byte [] Summer.Batch.Extra.Sort.Legacy.BytesExtensions.SubArray ( this byte[]  bytes,
int  start,
int  length 
)
static

Creates a sub array with the specified size.

Parameters
bytesthe original array
startthe index of the first byte to copy
lengththe length to copy
Returns
a new sub array

The documentation for this class was generated from the following file:
  • Summer.Batch.Extra/Sort/Legacy/BytesExtensions.cs