aboutsummaryrefslogtreecommitdiff
path: root/ber/bool.go
diff options
context:
space:
mode:
Diffstat (limited to 'ber/bool.go')
-rw-r--r--ber/bool.go16
1 files changed, 0 insertions, 16 deletions
diff --git a/ber/bool.go b/ber/bool.go
deleted file mode 100644
index 484ecb5..0000000
--- a/ber/bool.go
+++ /dev/null
@@ -1,16 +0,0 @@
-package ber
-
-import "io"
-
-func UnmarshalBool(r io.ByteReader) bool {
- b, _ := r.ReadByte()
- return b != 0x00
-}
-
-func MarshalBool(w io.ByteWriter, b bool) {
- if b {
- w.WriteByte(0xFF)
- } else {
- w.WriteByte(0)
- }
-}