mirror of
https://github.com/D-Modem/app.git
synced 2026-11-28 17:38:05 -08:00
shared/'s io: what the shared code needs of I/O the same on the JVM and iOS: Source and Sink (the JVM's streams through asSource()/asSink()), a byte buffer, a queue of bytes read with a timeout (on coroutines' channels), IOException (java.io's own on the JVM), the monotonic clock, a sleep, the local time zone's offset. The transfers move there (TransferIo, X/Y/ZMODEM, Kermit, the CRCs, the files' Outgoing and Incoming); a folder of received files and a JVM file to send stay the JVM's (FolderIncoming, Outgoing.of). Kermit's dates by arithmetic (civil from days and back) in the local zone. TransferLoopbackTest (common: the JVM and native): each protocol both ways in memory, the files and their dates as sent. It found Kermit's dates read wrong when they came as yyyymmdd (the 6-digit form matched first): the 8-digit form first now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs