aea529d9f6
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. |
||
---|---|---|
.. | ||
bench_test.go | ||
primitive_test.go | ||
primitive.go | ||
record.go | ||
stream.go | ||
tlv_test.go | ||
truncated_test.go | ||
truncated.go | ||
varint_test.go | ||
varint.go |