Exemple #1
0
        public static ByteBuffer Repeat(byte value, int count)
        {
            global::System.IntPtr cPtr = CommonPINVOKE.ByteBuffer_Repeat(value, count);
            ByteBuffer            ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ByteBuffer(cPtr, true);

            if (CommonPINVOKE.SWIGPendingException.Pending)
            {
                throw CommonPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }