mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-27 23:31:35 +00:00
13 lines
262 B
Go
13 lines
262 B
Go
|
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
|
||
|
}
|