A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/bitbeans/helper-net below:

bitbeans/helper-net: A small collection of useful helper methods

A small collection of useful helper methods that I use in several projects.

Pull requests and/or optimization proposals are always welcome!

static T[] ConcatArrays<T>(params T[][] arrays)
static T[] ConcatArrays<T>(T[] arr1, T[] arr2)
static T[] SubArray<T>(T[] arr, int start, int length)
static T[] SubArray<T>(T[] arr, int start)
static bool ConstantTimeEquals(byte[] a, byte[] b)
static byte[] IntegerToLittleEndian(int data)
static byte[] Xor(byte[] data, IReadOnlyList<byte> keys)
static byte[] ReadFully(Stream input)
static string Escape(string argument, bool quote = false)
static string ExecuteShellCommand(string filename, string arguments, int timeout = 9000)
static byte[] AddPkcs7(byte[] data, int paddingLength)
static byte[] RemovePkcs7(byte[] paddedByteArray)
static byte[] AddZero(byte[] data, int paddingLength)
static byte[] RemoveZero(byte[] paddedByteArray)
static int Next(int maxValue)
static int Next(int minValue, int maxValue)
static void GetBytes(byte[] data)
static void GetNonZeroBytes(byte[] data)
static int Next(int maxValue)
static int Next(int minValue, int maxValue)
static void GetBytes(byte[] data)
static int Next(int maxValue)
static int Next(int minValue, int maxValue)

MIT


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4