Commit Graph
13 Commits
Author SHA1 Message Date
Francis Tsui fbf66ad7e3 Switch OutputStream::Write to use string_view.
PiperOrigin-RevId: 854225267
2026-01-09 09:37:00 -08:00
Francis Tsui b88fbc6636 Stop passing file size into InputFile c'tor.
PiperOrigin-RevId: 845989622
2025-12-17 18:01:07 -08:00
Francis Tsui 38827f2b4b Allow set and get last modified times on files.
PiperOrigin-RevId: 791407269
2025-08-05 16:08:30 -07:00
Francis Tsui e66394d4f7 Use native Window API for file access.
PiperOrigin-RevId: 791371696
2025-08-05 14:32:42 -07:00
Guogang Li 2e94870593 Cleanup unused files
PiperOrigin-RevId: 783094630
2025-07-14 16:59:26 -07:00
Francis Tsui 912d12b101 Remove file flush.
PiperOrigin-RevId: 715239362
2025-01-13 22:32:39 -08:00
Eiden Kim 25d4aca219 Update wstring converter
PiperOrigin-RevId: 682112846
2024-10-03 18:32:59 -07:00
Guogang Li 47f2dfec28 Removed platform types dependency from windows platform codes
PiperOrigin-RevId: 676447748
2024-09-19 09:37:29 -07:00
Guogang Li f7e54916c0 Fixed a bug in file reading
PiperOrigin-RevId: 674498290
2024-09-13 18:15:35 -07:00
Guogang Li e1f7044f28 Fixed the bug to get file size
PiperOrigin-RevId: 597266370
2024-01-10 09:05:15 -08:00
hai007 80ddcbe0fc Fix a crash when reading file on Windows platform.
Suspect the file was corrupted when sending to receiver side. Check if it is good first, then peek. By this way, the crash maybe avoid. For further protection, add exception protection here.

PiperOrigin-RevId: 542884209
2023-06-23 09:46:59 -07:00
Suet-Fei Li 084f7ebd88 Remove location namespace in third_party/nearby.
PiperOrigin-RevId: 500023196
2023-01-06 02:53:57 -08:00
Guogang Li 086ad175a8 Fixed the issue to transfer file name in utf8
PiperOrigin-RevId: 476959117
2022-09-26 12:17:17 -07:00