Helper methods for arrays.  
 More...
 | 
| static float[]  | ByteArrayToFloatArray (byte[] bytes, int count=0) | 
|   | Converts a byte-array to a float-array.  
  | 
|   | 
| static byte[]  | FloatArrayToByteArray (float[] array, int count=0) | 
|   | Converts a float-array to a byte-array.  
  | 
|   | 
| static sbyte[]  | ByteArrayToSByteArray (byte[] bytes, int count=0) | 
|   | Converts a byte-array to a sbyte-array.  
  | 
|   | 
| static byte[]  | SByteArrayToByteArray (sbyte[] sbytes, int count=0) | 
|   | Converts a sbyte-array to a byte-array.  
  | 
|   | 
| static T[]  | GetColumn< T > (T[,] matrix, int columnNumber) | 
|   | Returns the column of a 2D-array as array.  
  | 
|   | 
| static T[]  | GetRow< T > (T[,] matrix, int rowNumber) | 
|   | Returns the row of a 2D-array as array.  
  | 
|   | 
Helper methods for arrays. 
 
◆ ByteArrayToFloatArray()
  
  
      
        
          | static float[] BogaNet.Helper.ArrayHelper.ByteArrayToFloatArray  | 
          ( | 
          byte[] |           bytes,  | 
         
        
           | 
           | 
          int |           count = 0 ) | 
         
       
   | 
  
static   | 
  
 
Converts a byte-array to a float-array. 
- Parameters
 - 
  
    | bytes | Byte-array to convert | 
    | count | Number of bytes to convert (optional, default: 0 = all) | 
  
   
- Returns
 - Converted float-array
 
- Exceptions
 - 
  
  
 
 
 
◆ ByteArrayToSByteArray()
  
  
      
        
          | static sbyte[] BogaNet.Helper.ArrayHelper.ByteArrayToSByteArray  | 
          ( | 
          byte[] |           bytes,  | 
         
        
           | 
           | 
          int |           count = 0 ) | 
         
       
   | 
  
static   | 
  
 
Converts a byte-array to a sbyte-array. 
- Parameters
 - 
  
    | bytes | Byte-array to convert | 
    | count | Number of bytes to convert (optional, default: 0 = all) | 
  
   
- Returns
 - Converted sbyte-array
 
- Exceptions
 - 
  
  
 
 
 
◆ FloatArrayToByteArray()
  
  
      
        
          | static byte[] BogaNet.Helper.ArrayHelper.FloatArrayToByteArray  | 
          ( | 
          float[] |           array,  | 
         
        
           | 
           | 
          int |           count = 0 ) | 
         
       
   | 
  
static   | 
  
 
Converts a float-array to a byte-array. 
- Parameters
 - 
  
    | array | Float-array to convert | 
    | count | Number of floats to convert (optional, default: 0 = all) | 
  
   
- Returns
 - Converted byte-array
 
- Exceptions
 - 
  
  
 
 
 
◆ GetColumn< T >()
  
  
      
        
          | static T[] BogaNet.Helper.ArrayHelper.GetColumn< T >  | 
          ( | 
          T |           matrix[,],  | 
         
        
           | 
           | 
          int |           columnNumber ) | 
         
       
   | 
  
static   | 
  
 
Returns the column of a 2D-array as array. 
- Parameters
 - 
  
    | matrix | Input as 2D-array | 
    | columnNumber | Desired column of the 2D-array | 
  
   
- Returns
 - Column of a 2D-array as array
 
- Exceptions
 - 
  
  
 
 
 
◆ GetRow< T >()
  
  
      
        
          | static T[] BogaNet.Helper.ArrayHelper.GetRow< T >  | 
          ( | 
          T |           matrix[,],  | 
         
        
           | 
           | 
          int |           rowNumber ) | 
         
       
   | 
  
static   | 
  
 
Returns the row of a 2D-array as array. 
- Parameters
 - 
  
    | matrix | Input as 2D-array | 
    | rowNumber | Desired row of the 2D-array | 
  
   
- Returns
 - Row of a 2D-array as array
 
- Exceptions
 - 
  
  
 
 
 
◆ SByteArrayToByteArray()
  
  
      
        
          | static byte[] BogaNet.Helper.ArrayHelper.SByteArrayToByteArray  | 
          ( | 
          sbyte[] |           sbytes,  | 
         
        
           | 
           | 
          int |           count = 0 ) | 
         
       
   | 
  
static   | 
  
 
Converts a sbyte-array to a byte-array. 
- Parameters
 - 
  
    | sbytes | SByte-array to convert | 
    | count | Number of sbytes to convert (optional, default: 0 = all) | 
  
   
- Returns
 - Converted byte-array
 
- Exceptions
 - 
  
  
 
 
 
The documentation for this class was generated from the following file:
- /Users/stefanlaubenberger/Projects/CSharp/BogaNet/BogaNet.Common/Helper/ArrayHelper.cs