aboutsummaryrefslogtreecommitdiff
path: root/ber/int.go
diff options
context:
space:
mode:
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++