Florian Levis
05/30/2024, 4:01 PMFilipp Zhinkin
05/31/2024, 7:41 AMval source: Source = ...
val buffer = Buffer()
source.transferTo(buffer) // that will consume the source
println(buffer.size)Florian Levis
05/31/2024, 9:12 AMFilipp Zhinkin
05/31/2024, 9:36 AMhow does the C# do?By providing an interface whose implementations would, in general, throw
NotSupportedExceptionFileSystem::metadaOrNull(path)?.sizeFlorian Levis
05/31/2024, 10:01 AM