PushdataByte writes instructions to b, pushing byt onto the stack.
(byt byte)
| 36 | // PushdataByte writes instructions to b, |
| 37 | // pushing byt onto the stack. |
| 38 | func (b *Builder) PushdataByte(byt byte) *Builder { |
| 39 | op := uint64(1 + int(op.MinPushdata)) |
| 40 | writeVarint(&b.buf, op) |
| 41 | b.buf.WriteByte(byt) |
| 42 | return b |
| 43 | } |
| 44 | |
| 45 | // PushdataInt64 writes instructions to b pushing v |
| 46 | // onto the stack. |