code: func (b *BoundedMemoryChain) ResetHeaderState(n Node) {
  	b.headPtr = -1
  	b.tailPtr = -1
  	b.len = 0
  
  	b.PushBack(n)
  }
docs: // ResetHeaderState resets the state of all nodes. After this method, it will
  // be as if the chain was just newly created.
  //
  // NOTE: Part of the Chain interface.