remove decode peek
diff --git a/Tagging.md b/Tagging.md
index c3481f5..2456fa1 100644
--- a/Tagging.md
+++ b/Tagging.md
@@ -92,11 +92,6 @@
 to be present and sets an error if it is absent. If false
 an error is set if it is present.
 
-During decoding, it will sometimes be necessary to 
-peek-decode the data item with the generic PeekNext()
-first to know its type, then call the appropriate GetXxxx(0
-to actually dcode and consume it. When this is necessary
-depends on the design and flow of the protocol.
 
 
 
diff --git a/inc/qcbor/qcbor_decode.h b/inc/qcbor/qcbor_decode.h
index e24add4..c440cd2 100644
--- a/inc/qcbor/qcbor_decode.h
+++ b/inc/qcbor/qcbor_decode.h
@@ -896,8 +896,6 @@
  */
 QCBORError QCBORDecode_GetNext(QCBORDecodeContext *pCtx, QCBORItem *pDecodedItem);
 
-// TODO: finish this
-QCBORError QCBORDecode_PeekNext(QCBORDecodeContext *pCtx, QCBORItem *pDecodedItem);
 
 
 
diff --git a/src/qcbor_decode.c b/src/qcbor_decode.c
index e4bad60..6450203 100644
--- a/src/qcbor_decode.c
+++ b/src/qcbor_decode.c
@@ -2084,19 +2084,6 @@
 }
 
 
-QCBORError QCBORDecode_PeekNext(QCBORDecodeContext *pMe, QCBORItem *pDecodedItem)
-{
-   const size_t uOffset = UsefulInputBuf_Tell(&(pMe->InBuf));
-
-   QCBORError uErr = QCBORDecode_GetNext(pMe, pDecodedItem);
-
-   UsefulInputBuf_Seek(&(pMe->InBuf), uOffset);
-   // TODO: undo the level tracking (or don't do it)
-
-   return uErr;
-}
-
-
 /*
  Public function, see header qcbor/qcbor_decode.h file
  */