Implement the byte stream circular queue