コード例 #1
0
        public Block GetByHash(byte[] hash)
        {
            Block ret;
            var   bytes = coder.Get(hash);

            if (bytes != null)
            {
                ret = new Block(bytes);
            }
            else
            {
                ret = null;
            }

            return(ret);
        }