CRC-protected frames
This commit is contained in:
1 parent
ee2c958445
commit
8c73ec9e30
8 files changed
+155
-27
No files matched your search
@@ -10,6 +10,9 @@ import kotlin.reflect.typeOf
|
||||
*/
|
||||
interface DataSource {
|
||||
|
||||
/**
|
||||
* Exception that implementations must throw on end of data
|
||||
*/
|
||||
class EndOfData() : Exception("no more data available")
|
||||
|
||||
fun readByte(): Byte
|
||||
|
||||
Reference in new issue
Block a user