BytesQueue canInsertBeforeHead logic incorrect when tail = head
BytesQueue canInsertBeforeHead logic incorrect when tail = head: a task in UltraTerminal (Harbor dataset). The canInsertBeforeHead method in BytesQueue has incorrect logic when the tail position is greater than or equal to the head position. The method is not properly checking available space…
The task
The `canInsertBeforeHead` method in BytesQueue has incorrect logic when the tail position is greater than or equal to the head position. The method is not properly checking available space before the head when the queue has wrapped around.
Part of harness-hub/UltraTerminal.