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 97fd7b8..85d99e8 100644
--- a/ber/int.go
+++ b/ber/int.go
@@ -1,7 +1,5 @@
package ber
-import "reflect"
-
func intLen(i int64) int {
n := 1
for i > 255 {
@@ -46,8 +44,3 @@ func marshalInt(i int64) (b []byte) {
}
return
}
-
-func intEncoder(e *encodeState, v reflect.Value) {
- b := marshalInt(v.Int())
- e.Write(b)
-}