20#ifndef __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_PEEK_HH__
21#define __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_PEEK_HH__
35 return buffer.read_data();
46 t = buffer.peek_data(0);
54 if (n >= used() || n < -1) {
62 t = buffer.peek_data(n);
77 if (n >= used() || n < 0) {
81 buffer.poke_data(n) = t;
T peek(tlm_tag< T > *=nullptr) const
bool nb_can_peek(tlm_tag< T > *=nullptr) const
bool nb_poke(const T &, int n=0)