diff --git a/src/imp/buf/mod.rs b/src/imp/buf/mod.rs
index f6b700409362d2f285d99411e3dd539087685231..9fde5c97da597d283433a7e01ec851e85b9a7429 100644
--- a/src/imp/buf/mod.rs
+++ b/src/imp/buf/mod.rs
@@ -397,6 +397,14 @@ impl<'a> IntoBuf for &'a Vec<u8> {
     }
 }
 
+impl<'a> IntoBuf for &'a () {
+    type Buf = io::Cursor<&'static [u8]>;
+
+    fn into_buf(self) -> Self::Buf {
+        io::Cursor::new(&[])
+    }
+}
+
 /*
  *
  * ===== Sink / Source =====