From 35611186639bd1632ae4be124133f866ab6a2107 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sat, 27 Jun 2015 15:03:22 +0200 Subject: Isolate reflect --- ber/int.go | 7 ------- 1 file changed, 7 deletions(-) (limited to 'ber/int.go') 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) -} -- cgit v1.2.3