jesopo
|
86fad88f92
|
allow suppling encoding to StatefulEncoder and StatefulDecoder (and tests!)
|
2020-03-11 17:38:30 +00:00 |
jesopo
|
8630c63f46
|
StatefulEncoder._buffer is a bytes object
|
2020-03-11 17:12:49 +00:00 |
jesopo
|
53d056c3e0
|
add .clear() to StatefulDecoder too (and tests for .clear() on both statefuls)
|
2020-03-11 17:09:54 +00:00 |
jesopo
|
4b9ff45921
|
remove superfluous spaces
|
2020-03-11 17:04:58 +00:00 |
Austin Ewens
|
e5001ccb9c
|
Adds the ability to easily reset the encoder
The initialize function is also refactored to use the clear function to reduce code duplication as they would be doing the same thing.
|
2020-03-11 11:54:46 -05:00 |
jesopo
|
22be792bc0
|
remove StatefulEncoder.push() return type
|
2020-03-11 16:31:26 +00:00 |
jesopo
|
8773240c0c
|
return Line objects successfully sent with StatefulEncoder.pop()
|
2020-03-11 16:30:44 +00:00 |
jesopo
|
49d2e78475
|
add a stateful encoder (irctokens.StatefulEncoder())
|
2020-03-11 15:17:17 +00:00 |
jesopo
|
3cdc163b87
|
StatefulDecoder.push() should return None when given b"" (disconnect)
|
2020-03-11 15:16:49 +00:00 |
jesopo
|
949b10945e
|
implement a stateful decoder (irctokens.StatefulDecoder())
|
2020-03-11 14:50:31 +00:00 |