CBForest.Native.c4key_withBytes C# (CSharp) Method

c4key_withBytes() public static method

public static c4key_withBytes ( C4Slice slice ) : C4Key*
slice C4Slice
return C4Key*
        public static C4Key* c4key_withBytes(C4Slice slice)
        {
            #if DEBUG
            var retVal = _c4key_withBytes(slice);
            if(retVal != null) {
                _AllocatedObjects[(IntPtr)retVal] = "C4Key";
                #if ENABLE_LOGGING
                Console.WriteLine("[c4key_withBytes] Allocated 0x{0}", ((IntPtr)retVal).ToString("X"));
                #endif
            }

            return retVal;
            #else
            return _c4key_withBytes(slice);
            #endif
        }

Same methods

Native::c4key_withBytes ( IEnumerable bytes ) : C4Key*
Native