Revert "BUG-47 : unfinished PCEP migration to generated DTOs."
[bgpcep.git] / pcep / spi / src / main / java / org / opendaylight / protocol / pcep / spi / TlvParser.java
index df1bf54feff90ae71c7dada3fb98d9575ee40551..d6787c947fb0a2345f158b36cd35ae9a3ec4444f 100644 (file)
@@ -7,9 +7,10 @@
  */
 package org.opendaylight.protocol.pcep.spi;
 
-import org.opendaylight.protocol.pcep.PCEPDeserializerException;
+import io.netty.buffer.ByteBuf;
+
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev131005.Tlv;
 
 public interface TlvParser {
-       public Tlv parseTlv(final byte[] buffer) throws PCEPDeserializerException;
+       public Tlv parseTlv(ByteBuf buffer);
 }