leaveye.guo: > Thanks for your suggestion, and sorry for the subject. > > I have read the introduction of Data.ByteString, it is helpful. > > And also, there is one problem left. When i read a binary file, data > is truncated at the charactor EOF. > > Which function could do this work correctly ? Hmm. Do you have an example? -- Don