source/lib/VBConnPanel.js
// Remove a Buffer node (dequeue) from the head of the linked list

Remove a Buffer node (dequeue) from the head of the linked list
Remove a Buffer node ( dequeue ) from the head of the linked list
remove() {
    if (this.head !== null) {
      const node = this.head
      this.head = node.next
      if (this.head === null) {
        this.tail = null
      }
      return this.decoder.write(node.data)
    }
    else {
      return ''
    }
  }
remove ( ) { if ( this . head !== null ) { const node = this . head this . head = node . next if ( this . head === null ) { this . tail = null } return this . decoder . write ( node . data ) } else { return '' } }
Remove a Buffer node (dequeue) from the head of the linked list
Remove a Buffer node ( dequeue ) from the head of the linked list