#120637 - 2004-06-04 04:25 PM
RFC: binary file access, byte format
|
Lonkero
KiX Master Guru
   
Registered: 2001-06-05
Posts: 22346
Loc: OK
|
if you would have a way to read binary files, unicode files and so on with kixtart, how would you like your file appear to you?
say, you have textfile with context of: blaah
so, would you like it as array of integers: $file=98,97,97,104
or, array of hex-values: $file=62,61,61,68
or, as array of binary: $file="1100010","1100001","1100001","1101000"
yet one more option would be binaryString: $file="01100010011000010110000101101000"
the reason for the request is, that there is ability to do this. but before doing it, the format of output is pretty crucial. for text files, the integer way is the the fastest (like for others, afaik) and most suitable (as it's the same as asc() all the chars) and does require the least modification before manipulation.
so, asking for personal opinions for those who might want some more advanced file access.
_________________________
!download KiXnet
|
|
Top
|
|
|
|
RFC: binary file access, byte format
|
Lonkero
|
2004-06-04 04:25 PM
|
Re: RFC: binary file access, byte format
|
Shawn
|
2004-06-05 04:15 PM
|
Re: RFC: binary file access, byte format
|
Lonkero
|
2004-06-05 04:58 PM
|
Re: RFC: binary file access, byte format
|
Shawn
|
2004-06-05 05:18 PM
|
Re: RFC: binary file access, byte format
|
Lonkero
|
2004-06-05 06:00 PM
|
Re: RFC: binary file access, byte format
|
Lonkero
|
2004-06-05 06:03 PM
|
Re: RFC: binary file access, byte format
|
Lonkero
|
2004-06-06 03:05 AM
|
Re: RFC: binary file access, byte format
|
Lonkero
|
2004-06-06 03:29 AM
|
Re: RFC: binary file access, byte format
|
Richard H.
|
2004-06-04 04:40 PM
|
Re: RFC: binary file access, byte format
|
Lonkero
|
2004-06-04 05:03 PM
|
Re: RFC: binary file access, byte format
|
Richard H.
|
2004-06-04 05:28 PM
|
Re: RFC: binary file access, byte format
|
Lonkero
|
2004-06-04 06:56 PM
|
Re: RFC: binary file access, byte format
|
Lonkero
|
2004-06-05 04:43 AM
|
Re: RFC: binary file access, byte format
|
Sealeopard
|
2004-06-05 03:24 PM
|
|
Moderator: Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart
|
1 registered
(Allen)
and 1198 anonymous users online.
|
|
|