From f83e5f62aebf4924a393f5c131b32e0843a735c9 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Thu, 6 Aug 2015 16:17:07 +0200 Subject: Export string --- ber/string.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ber/string.go') diff --git a/ber/string.go b/ber/string.go index 77d0ea4..98eb617 100644 --- a/ber/string.go +++ b/ber/string.go @@ -1,9 +1,9 @@ package ber -func marshalString(s string) []byte { +func MarshalString(s string) []byte { return []byte(s) } -func unmarshalString(b []byte) string { +func UnmarshalString(b []byte) string { return string(b) } -- cgit v1.2.3