aboutsummaryrefslogtreecommitdiff
path: root/ber/bits.go
diff options
context:
space:
mode:
Diffstat (limited to 'ber/bits.go')
-rw-r--r--ber/bits.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/ber/bits.go b/ber/bits.go
index 4eb6c05..8895e92 100644
--- a/ber/bits.go
+++ b/ber/bits.go
@@ -20,7 +20,10 @@ func (bs Bits) String() (s string) {
true: "1",
false: "0",
}
- for _, bit := range bs {
+ for i, bit := range bs {
+ if i > 0 && i%4 == 0 {
+ s += " "
+ }
s += bmap[bit]
}
return