How many bytes have been cached for the given file?
| 333 | |
| 334 | // How many bytes have been cached for the given file? |
| 335 | size_t FileGCodeInput::FileBytesCached(const FileData &file) const noexcept |
| 336 | { |
| 337 | return (lastFileRead == file) ? RegularGCodeInput::BytesCached() : 0; |
| 338 | } |
| 339 | |
| 340 | // Read another chunk of G-codes from the file and return true if more data is available |
| 341 | GCodeInputReadResult FileGCodeInput::ReadFromFile(FileData &file) noexcept |