summaryrefslogtreecommitdiff
path: root/src/main/kotlin/ProtocolTranslator.kt
diff options
context:
space:
mode:
authorEdoardo La Greca2025-08-06 19:52:53 +0200
committerEdoardo La Greca2025-08-06 19:53:29 +0200
commit309b9eac8bf62e53d8efefb15852105218026bf9 (patch)
tree432214b3d62c00aa08270958bef9c58f9c6a39ed /src/main/kotlin/ProtocolTranslator.kt
parent19d61faff42beeda25af615151d9c54232d4ff01 (diff)
implement write
Diffstat (limited to 'src/main/kotlin/ProtocolTranslator.kt')
-rw-r--r--src/main/kotlin/ProtocolTranslator.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/ProtocolTranslator.kt b/src/main/kotlin/ProtocolTranslator.kt
index 3838b9a..e24d60c 100644
--- a/src/main/kotlin/ProtocolTranslator.kt
+++ b/src/main/kotlin/ProtocolTranslator.kt
@@ -68,7 +68,7 @@ interface ProtocolTranslator {
/**
* Transfer data to file.
*/
- fun write(fid: UInt, offset: ULong, count: UInt, data: Iterable<UByte>): String?
+ fun write(fid: UInt, offset: ULong, count: UInt, data: Iterable<UByte>): Pair<String?, UInt>
/**
* Forget about an FID.