예제 #1
0
        public virtual List <object> GetDatabaseInfo(byte[] items, int bufferLength)
        {
            var buffer = new byte[bufferLength];

            DatabaseInfo(items, buffer, buffer.Length);
            return(IscHelper.ParseDatabaseInfo(buffer));
        }
        public override Task <List <object> > GetDatabaseInfo(byte[] items, int bufferLength, AsyncWrappingCommonArgs async)
        {
            var buffer = new byte[bufferLength];

            DatabaseInfo(items, buffer, buffer.Length);

            return(Task.FromResult(IscHelper.ParseDatabaseInfo(buffer)));
        }
예제 #3
0
        public ArrayList GetDatabaseInfo(byte[] items, int bufferLength)
        {
            byte[] buffer = new byte[bufferLength];

            DatabaseInfo(items, buffer, buffer.Length);

            return(IscHelper.ParseDatabaseInfo(buffer));
        }
예제 #4
0
        public override async Task <List <object> > GetDatabaseInfo(byte[] items, int bufferLength, AsyncWrappingCommonArgs async)
        {
            var buffer = new byte[bufferLength];

            await DatabaseInfo(items, buffer, buffer.Length, async).ConfigureAwait(false);

            return(IscHelper.ParseDatabaseInfo(buffer));
        }
예제 #5
0
    public override ValueTask <List <object> > GetDatabaseInfoAsync(byte[] items, int bufferLength, CancellationToken cancellationToken = default)
    {
        var buffer = new byte[bufferLength];

        DatabaseInfo(items, buffer, buffer.Length);

        return(ValueTask2.FromResult(IscHelper.ParseDatabaseInfo(buffer)));
    }
예제 #6
0
        public override async ValueTask <List <object> > GetDatabaseInfoAsync(byte[] items, int bufferLength, CancellationToken cancellationToken = default)
        {
            var buffer = new byte[bufferLength];

            await DatabaseInfoAsync(items, buffer, buffer.Length, cancellationToken).ConfigureAwait(false);

            return(IscHelper.ParseDatabaseInfo(buffer));
        }