Commit Graph
2 Commits
Author SHA1 Message Date
Olaoluwa Osuntokun aea529d9f6 tlv: add new Type() and Encode() methods to Record
In this commit, we add two new method so the `Record` struct: Type() and
Encode(). These are useful when a caller is handling a record and may
not know its underlying type and may need to encode a record in
isolation.
2019-08-22 18:52:58 -07:00
Conner Fromknecht 96e0bb1411 tlv/record: adds various tlv record constructors 2019-08-07 15:03:43 -07:00