We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 179a645 commit c4065e5Copy full SHA for c4065e5
cmd2/utils.py
@@ -362,7 +362,7 @@ class ByteBuf(object):
362
Used by StdSim to write binary data and stores the actual bytes written
363
"""
364
def __init__(self, std_sim_instance: StdSim) -> None:
365
- self.byte_buf = b''
+ self.byte_buf = bytearray()
366
self.std_sim_instance = std_sim_instance
367
368
def write(self, b: bytes) -> None:
0 commit comments