aboutsummaryrefslogtreecommitdiff
path: root/ber/string.go
diff options
context:
space:
mode:
Diffstat (limited to 'ber/string.go')
-rw-r--r--ber/string.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/ber/string.go b/ber/string.go
new file mode 100644
index 0000000..77d0ea4
--- /dev/null
+++ b/ber/string.go
@@ -0,0 +1,9 @@
+package ber
+
+func marshalString(s string) []byte {
+ return []byte(s)
+}
+
+func unmarshalString(b []byte) string {
+ return string(b)
+}