示例#1
0
文件: InlineData.cs 项目: 0xCM/arrows
        public static string GenAccessor(ByteSize size)
        {
            var random = new Random();
            var buffer = new byte[size];

            random.NextBytes(buffer);
            var codegen = new InlineData(buffer, $"Bytes{size}");

            return(codegen.GenAccessor());
        }
示例#2
0
        void Run(params string[] args)
        {
            //ReadAsmCsv();
            // var b256 = new Byte256();
            // print(b256.GenerateSourceInt8().Format());

            var code = InlineData.GenAccessor(Pow2.T15);

            print(code);
        }