Dart SDK
dart:io
RandomAccessFile
lengthSync
method
lengthSync
RandomAccessFile
Properties
path
Constructors
RandomAccessFile
Methods
close
closeSync
readByte
readByteSync
read
readSync
readInto
readIntoSync
writeByte
writeByteSync
writeFrom
writeFromSync
writeString
writeStringSync
position
positionSync
setPosition
setPositionSync
truncate
truncateSync
length
lengthSync
flush
flushSync
lock
lockSync
unlock
unlockSync
toString
int
lengthSync
( )
Synchronously gets the length of the file.
Throws a
FileSystemException
if the operation fails.