aboutsummaryrefslogtreecommitdiff
path: root/ber/class.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-08-06 17:49:47 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-08-06 17:49:47 +0200
commitb92324b847348c0bcaedc7628ba712fa0509e5fc (patch)
tree3fc8ad8bf86e14ed8bfeff3ae0f56e4f75b4b28a /ber/class.go
parent7730784e5848c214b5d7206d753888d2f55ddb97 (diff)
Export UnmarshalUint
Diffstat (limited to 'ber/class.go')
-rw-r--r--ber/class.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ber/class.go b/ber/class.go
index 67a4dcd..aca8220 100644
--- a/ber/class.go
+++ b/ber/class.go
@@ -120,7 +120,7 @@ func Ident(b []byte) (Class, Kind, Tag, int) {
func Length(b []byte) (int, int) {
if b[0]&0x80 != 0 {
l := int(b[0] & 0x7f)
- i := unmarshalUint(b[1 : l+1])
+ i := UnmarshalUint(b[1 : l+1])
return int(i), int(l + 1)
} else {
return int(b[0]), 1