Hi all,
I'm not really a Java programmer so can you all please go easy on me, I'm afraid I'm one of those hated Oracle developers... As part of Oracle 8i you can now imbed Java straight into the DB which is great as the native language that comes with Oracle is to say the least, DB orientated.
Anyway back to the point of this post...
I'm looking for a bit of code that will take 3 8-bit bytes then internally convert them to 4 6-bit bytes. Then pad (right pad with 0) each of the 6-bit bytes to 8-bit bytes and return these 4 8-bit bytes.
So overall the Java would recieve 3 8-bit bytes and return 4 8-bit bytes.
I can then hopefullt compile this into Oracle and volia!
Does anyone have such code??
Cheers,
Mike.
I'm not really a Java programmer so can you all please go easy on me, I'm afraid I'm one of those hated Oracle developers... As part of Oracle 8i you can now imbed Java straight into the DB which is great as the native language that comes with Oracle is to say the least, DB orientated.
Anyway back to the point of this post...
I'm looking for a bit of code that will take 3 8-bit bytes then internally convert them to 4 6-bit bytes. Then pad (right pad with 0) each of the 6-bit bytes to 8-bit bytes and return these 4 8-bit bytes.
So overall the Java would recieve 3 8-bit bytes and return 4 8-bit bytes.
I can then hopefullt compile this into Oracle and volia!
Does anyone have such code??
Cheers,
Mike.