I am having trouble converting a string to byte(in hex)...below is what I'm trying to acheive...

Dim myByteArr(10) As Byte
Text file is of the form:

1011 21FF FF00 00FF
So I'd like to achieve:

myByteArr(0) = 10
myByteArr(1) = 11
myByteArr(2) = 21
myByteArr(3) = FF
myByteArr(4) = FF
myByteArr(5) = 00

so on...
I need to read each line in the text file which looks like shown above and
split the bytes and assign it like shown above, but I'm getting a type conversion error, How is it possible to achieve what I am desiring...pls help...thnks...in advance................