Method: Bitcoin::Message::CFParser#parse_from_payload
- Defined in:
- lib/bitcoin/message/cf_parser.rb
#parse_from_payload(payload) ⇒ Object
5 6 7 8 |
# File 'lib/bitcoin/message/cf_parser.rb', line 5 def parse_from_payload(payload) type, start, hash = payload.unpack('CLH*') self.new(type, start, hash) end |