- chunkSizeulong chunkSize() 
- void chunkSize(ulong value) 
- The size of the chunks the file is divided into, in bytes. 
- closevoid close() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- corruptedEventSleepDurationDuration corruptedEventSleepDuration() 
- void corruptedEventSleepDuration(Duration value) 
- The interval at which the thread wakes up to check for the next chunk
in tailing mode. 
- getCurChunkulong getCurChunk() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- getNumChunksulong getNumChunks() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- isOpenbool isOpen() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- maxCorruptedEventsuint maxCorruptedEvents() 
- void maxCorruptedEvents(uint value) 
- The maximum number of corrupted events tolerated before the whole chunk
is skipped. 
- maxEventSizesize_t maxEventSize() 
- void maxEventSize(size_t value) 
- Arbitrary event size limit, in bytes. Must be smaller than chunk size. 
- openvoid open() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- peekbool peek() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- readsize_t read(ubyte[] buf) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- readBufferSizesize_t readBufferSize() 
- void readBufferSize(size_t value) 
- Read buffer size, in bytes. 
- readTimeoutDuration readTimeout() 
- void readTimeout(Duration value) 
- If positive, wait the specified duration for new data when arriving at
end of file. If negative, wait forever (tailing mode), waking up to check
in the specified interval. If zero, do not wait at all. 
- seekToChunkvoid seekToChunk(long chunk) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- seekToEndvoid seekToEnd() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- isOpenbool isOpen() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- peekbool peek() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- openvoid open() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- closevoid close() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- readsize_t read(ubyte[] buf) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- readAllvoid readAll(ubyte[] buf) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- readEndsize_t readEnd() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- writevoid write(ubyte[] buf) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- writeEndsize_t writeEnd() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- flushvoid flush() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- borrowconst(ubyte)[] borrow(ubyte* buf, size_t len) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- consumevoid consume(size_t len) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
A transport used to read log files. It can never be written to, calling write() throws.
Contrary to the C++ design, explicitly opening the transport/file before using is necessary to allow manually closing the file without relying on the object lifetime. Otherwise, it's a straight port of the C++ implementation.