##### RandomAccessFile class

1. Constructors
2. RandomAccessFile
3. Properties
4. path
5. hashCode
6. runtimeType
7. Methods
8. close
9. closeSync
10. flush
11. flushSync
12. length
13. lengthSync
14. lock
15. lockSync
16. position
17. positionSync
18. read
19. readByte
20. readByteSync
21. readInto
22. readIntoSync
23. readSync
24. setPosition
25. setPositionSync
26. toString
27. truncate
28. truncateSync
29. unlock
30. unlockSync
31. writeByte
32. writeByteSync
33. writeFrom
34. writeFromSync
35. writeString
36. writeStringSync
37. noSuchMethod
38. Operators
39. operator ==

# length method

Future<int> length ()

Gets the length of the file. Returns a `Future<int>` that completes with the length in bytes.

## Implementation

    Future<int> length();