Bytes constructs a byte string constant.
(bytes []byte)
| 306 | |
| 307 | // Bytes constructs a byte string constant. |
| 308 | func Bytes(bytes []byte) Constant { |
| 309 | return Constant{BytesType, string(bytes), int64(hashBytes(bytes)), nil, nil} |
| 310 | } |
| 311 | |
| 312 | // Number constructs a constant symbol that contains a number. |
| 313 | func Number(num int64) Constant { |