From 8b2ca579d8274fe8ce3b2d30165c99066762c73a Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Tue, 7 Jul 2015 22:49:52 +0200 Subject: Add BitString --- parse/parse.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'parse') diff --git a/parse/parse.go b/parse/parse.go index eb67e8a..1a6a77f 100644 --- a/parse/parse.go +++ b/parse/parse.go @@ -19,6 +19,8 @@ func dump(b []byte, indent int) { fmt.Println(tag, ber.UnmarshalInt(value)) case ber.ObjectIdentifier: fmt.Println(tag, ber.UnmarshalOID(value)) + case ber.BitString: + fmt.Println(tag, ber.UnmarshalBitString(value)) default: if len(value) > 5 { fmt.Println(tag, kind, value[:5], "...") -- cgit v1.2.3