S
shazrul
Hi all,
I have a byte array which I need to store in an Active Directory
attribute. The array has 256 elements.
The way I am doing it now is to convert each byte into a two digit Hex
pair for example,
byArray(0) = 01
byArray(1) = 255
byArray(2) = 128
....
will be stored as a string of 01 FF 80 ...
The problem with this approach is, I will need the Active Directory
attribute to hold 512 characters. How can I store the byte array in a
more space efficient way and at the same time, easy to parse when I
need to.
I have a byte array which I need to store in an Active Directory
attribute. The array has 256 elements.
The way I am doing it now is to convert each byte into a two digit Hex
pair for example,
byArray(0) = 01
byArray(1) = 255
byArray(2) = 128
....
will be stored as a string of 01 FF 80 ...
The problem with this approach is, I will need the Active Directory
attribute to hold 512 characters. How can I store the byte array in a
more space efficient way and at the same time, easy to parse when I
need to.