summaryrefslogtreecommitdiff
path: root/internal/encode.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/encode.go')
-rw-r--r--internal/encode.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/internal/encode.go b/internal/encode.go
new file mode 100644
index 0000000..8aae673
--- /dev/null
+++ b/internal/encode.go
@@ -0,0 +1,14 @@
+// Copyright (C) 2022-2023 Luke Shumaker <lukeshu@lukeshu.com>
+//
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+package internal
+
+import (
+ "io"
+)
+
+var (
+ EncodeStringFromBytes func(io.Writer, []byte)
+ EncodeStringFromString func(io.Writer, string)
+)