aboutsummaryrefslogtreecommitdiff
path: root/ber/int.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-06-27 15:03:22 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-06-27 15:03:22 +0200
commit35611186639bd1632ae4be124133f866ab6a2107 (patch)
treec89b35c02f62b541d973555b0f0b13f235d3bed8 /ber/int.go
parent6b6c369b624b9ddccd9a23eed78e0340db99ad85 (diff)
Isolate reflect
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)
-}