tfilestream
TFileStream with offset
I need to extend TFileStream so that it can work with a file not from 0 offset, but from user defined offset. I mean it must interpret user defined offset as stream beginning. My code is:[详细]
2023-03-05 05:19 分类:问答What is the fastest way for reading huge files in Delphi?
My program needs to read chunks from a huge binary file with random access. I have got a list of offsets and lengths which may have several thousand entries. The user selects an entry and the program[详细]
2023-02-03 01:12 分类:问答How to handle exceptions when creating FileStream
I have a function like this, that I would like to refactor function Myfunction(sUrl, sFile: String) : Boolean;[详细]
2023-01-24 09:14 分类:问答how to detect if tfilestream has been freed?
is there a way to see if an instace of tfile stream is being used? for example if i declare FS of type tfilestream,write buffer to it and[详细]
2023-01-09 06:37 分类:问答File not received if I free the instance of filestream anywhere?
I am trying to send a file using TServerSocket/TClientSocket. The file is sent completely as long as I do not free the filestream anywhere and by anywhere I mean form.OnCreate event too. If I do free[详细]
2023-01-08 06:23 分类:问答Delphi TFileStream.Seek, how to check for invalid seek offset
I a开发者_如何学JAVAm working with TFileStream in Delphi 2006. When I invoke TFileStream.Seek with an offset that is out of bounds I am getting different return values. When I seek to a position below[详细]
2023-01-08 01:37 分类:问答Bean validation VS JSF validation
When facing the problem of validating a property in a JSF2 application there are two main approaches.[详细]
2022-12-23 17:14 分类:问答Developing Plugin for Netbeans 6.8
I would like to develop a plugin for Netbeans 6.8 but I can\'t find enough tutorials / resources / articles for the开发者_如何学Python same. The only decent reference link I could find was http://plat[详细]
2022-12-20 17:50 分类:问答