Skip to content

Commit

Permalink
📝 Update README with new getSize() method
Browse files Browse the repository at this point in the history
  • Loading branch information
vinceglb committed Jun 20, 2024
1 parent 1f935ba commit 8b8f985
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ val filePath: String? = platformFile.path
val fileName: String = platformFile.name // Base name with extension
val baseName: String = platformFile.baseName
val extension: String = platformFile.extension
val size: Long = platformFile.getSize()
val bytes: ByteArray = platformFile.readBytes() // suspend function

val platformDirectory: PlatformDirectory = ...
Expand Down

0 comments on commit 8b8f985

Please sign in to comment.