diff --git a/README.md b/README.md index 22cf604..5c168a6 100644 --- a/README.md +++ b/README.md @@ -70,9 +70,9 @@ m1.Protocols() #### En/decapsulate ```go -ma.Encapsulate(ma.NewMultiaddr("/sctp/5678")) +m.Encapsulate(ma.NewMultiaddr("/sctp/5678")) // -ma.Decapsulate(ma.NewMultiaddr("/udp")) // up to + inc last occurrence of subaddr +m.Decapsulate(ma.NewMultiaddr("/udp")) // up to + inc last occurrence of subaddr // ```