burrow: github.com/hyperledger/burrow/execution/evm/asm/bc Index | Files

package bc

import "github.com/hyperledger/burrow/execution/evm/asm/bc"


Package Files


func Concat Uses

func Concat(bss ...[]byte) []byte

Concatenate multiple byte slices without unnecessary copying

func MustSplice Uses

func MustSplice(bytelikes ...interface{}) []byte

Splice or panic

func Splice Uses

func Splice(bytelikes ...interface{}) ([]byte, error)

Convenience function to allow us to mix bytes, ints, and OpCodes that represent bytes in an EVM assembly code to make assembly more readable. Also allows us to splice together assembly fragments because any []byte arguments are flattened in the result.

type ByteSlicable Uses

type ByteSlicable interface {
    Bytes() []byte

Package bc imports 2 packages (graph) and is imported by 4 packages. Updated 2018-05-09. Refresh now. Tools for package owners.