Esempio n. 1
0
        private ColumnStream <T> CreateCsub <T>(ICodec <T> codec, byte[] data) where T : unmanaged
        {
            var stream = new ColumnStream <T>(
                new MinotaurMemoryStream(),
                codec,
                1024);

            stream.WriteAndReset(data, sizeof(byte));
            return(stream);
        }