(op uint)
| 78 | } |
| 79 | |
| 80 | func (cb *Buffer) Allows(op uint) bool { |
| 81 | if cb.Refs.AllowOpcodes == nil { |
| 82 | return true |
| 83 | } |
| 84 | |
| 85 | if cb.Refs.AllowOpcodes.List[op] { |
| 86 | return !cb.Refs.AllowOpcodes.Default |
| 87 | } |
| 88 | |
| 89 | return cb.Refs.AllowOpcodes.Default |
| 90 | } |
| 91 | |
| 92 | func (cb *Buffer) Data() []byte { |
| 93 | return cb.Commited |
no outgoing calls
no test coverage detected