public static void AddBytes(this byte[] bytes, ByteArray value, ref int index) { Array.Copy(value.Bytes, 0, bytes, index, value.Length); index += value.Length; }
public static bool IsNullOrEmpty(this ByteArray byteArray) { return(byteArray == null || byteArray.IsEmpty); }