Find out how you can convert each long into INTs
with an int as base you can use the bit-command
Bit.ToBinaryString(intvalue)
Bit.ToOctalString(intvalue)
Dim data() As Byte
data = bc.LongsToBytes(val)
data now hold the single bytes... but i dont know how to convert it to an int which can be used with bit-command.