aboutsummaryrefslogtreecommitdiff
path: root/ber/int.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-08-08 13:05:41 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-08-08 13:05:41 +0200
commit4c4272628632cc881eb52f675e1219b4fbd491aa (patch)
treec3b5d0d5468a70c9fe251766bcb8c4aaf29e5f33 /ber/int.go
parent0eb96c8c2494cfa093dd289efa35be9b0db6727c (diff)
Parse len
Diffstat (limited to 'ber/int.go')
-rw-r--r--ber/int.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/ber/int.go b/ber/int.go
index ee28b4f..bcdc96f 100644
--- a/ber/int.go
+++ b/ber/int.go
@@ -14,13 +14,6 @@ func UnmarshalInt(b []byte) (i int) {
return
}
-func UnmarshalUint(b []byte) (i uint) {
- for n, v := range b {
- i += uint(v) << uint((len(b)-n-1)*8)
- }
- return
-}
-
func intLen(i int) (n int) {
for i > 255 {
n++