Medium
Binary encoding of variable length options with Golang
Reading and writing TLV-encoded messages with Go
See this content immediately after install