public static int SodiumBase642bin(byte[] bin, ulong bin_maxlen, string b64, ulong b64_len, string ignore, ref ulong bin_len, sbyte[] b64_end, int variant) { fixed(ulong *__refParamPtr5 = &bin_len) { var __arg5 = __refParamPtr5; var __ret = __Internal.SodiumBase642bin(MarshalHelper.ByteArrayToIntPtr(bin), bin_maxlen, b64, b64_len, ignore, __arg5, MarshalHelper.SByteArrayToDoubleIntPtr(b64_end), variant); return(__ret); } }
public static int SodiumHex2bin(byte[] bin, ulong bin_maxlen, string hex, ulong hex_len, string ignore, ref ulong bin_len, sbyte[] hex_end) { fixed(ulong *__refParamPtr5 = &bin_len) { var __arg5 = __refParamPtr5; var __ret = __Internal.SodiumHex2bin(MarshalHelper.ByteArrayToIntPtr(bin), bin_maxlen, hex, hex_len, ignore, __arg5, MarshalHelper.SByteArrayToDoubleIntPtr(hex_end)); return(__ret); } }
public static sbyte *SodiumBin2base64(sbyte[] b64, ulong b64_maxlen, byte[] bin, ulong bin_len, int variant) { var __ret = __Internal.SodiumBin2base64(MarshalHelper.SByteArrayToIntPtr(b64), b64_maxlen, MarshalHelper.ByteArrayToIntPtr(bin), bin_len, variant); return(__ret); }
public static sbyte *SodiumBin2hex(sbyte[] hex, ulong hex_maxlen, byte[] bin, ulong bin_len) { var __ret = __Internal.SodiumBin2hex(MarshalHelper.SByteArrayToIntPtr(hex), hex_maxlen, MarshalHelper.ByteArrayToIntPtr(bin), bin_len); return(__ret); }
public static void SodiumAdd(byte[] a, byte[] b, ulong len) { __Internal.SodiumAdd(MarshalHelper.ByteArrayToIntPtr(a), MarshalHelper.ByteArrayToIntPtr(b), len); }
public static void SodiumIncrement(byte[] n, ulong nlen) { __Internal.SodiumIncrement(MarshalHelper.ByteArrayToIntPtr(n), nlen); }
public static int SodiumIsZero(byte[] n, ulong nlen) { var __ret = __Internal.SodiumIsZero(MarshalHelper.ByteArrayToIntPtr(n), nlen); return(__ret); }
public static int SodiumCompare(byte[] b1_, byte[] b2_, ulong len) { var __ret = __Internal.SodiumCompare(MarshalHelper.ByteArrayToIntPtr(b1_), MarshalHelper.ByteArrayToIntPtr(b2_), len); return(__ret); }