neo-go/pkg/vm/stack/bytearray.go

13 lines
262 B
Go
Raw Normal View History

package stack
// ByteArray represents a slice of bytes on the stack
type ByteArray struct {
*abstractItem
val []byte
}
//ByteArray overrides the default abstractItem Bytes array method
func (ba *ByteArray) ByteArray() (*ByteArray, error) {
return ba, nil
}