aboutsummaryrefslogtreecommitdiff
path: root/ber/int.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/int.go
parent7730784e5848c214b5d7206d753888d2f55ddb97 (diff)
Export UnmarshalUint
Diffstat (limited to 'ber/int.go')
-rw-r--r--ber/int.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ber/int.go b/ber/int.go
index 87816d1..23373ef 100644
--- a/ber/int.go
+++ b/ber/int.go
@@ -14,7 +14,7 @@ func UnmarshalInt(b []byte) (i int) {
return
}
-func unmarshalUint(b []byte) (i uint) {
+func UnmarshalUint(b []byte) (i uint) {
for n, v := range b {
i += uint(v) << uint(n*8)
}