(imported topic written by rad.ricka91)
Hi all,
in the Solaris Inspector Library there is a File Content object. Does this work against binary files as well?
Regards,
R.
(imported topic written by rad.ricka91)
Hi all,
in the Solaris Inspector Library there is a File Content object. Does this work against binary files as well?
Regards,
R.
(imported comment written by BenKus)
Hey Rad,
The “line of file” inspector works the same on all the operating systems we support. Each line will return a string value for the file line up until a cr or lf. For a “binary” file, the results will probably not be what you are looking for.
If you are looking at specific sections of the file, you can use the “byte of file” inspector, which returns the byte value of a specific character.
See these examples:
q: byte 0 of file “C:\boot.ini”
A: 91
q: character (byte 0 of file “C:\boot.ini”)
A: [
q: characters (bytes (0;1;2;3) of (file “C:\boot.ini”))
A: [
A: b
A: o
A: o
q: concatenation of characters (bytes (0;1;2;3) of (file “C:\boot.ini”))
A: [boo
Is that what you were looking for?
Ben