Ok, from what I understand there is no way to resize an array so I'm using an array List.
The problem in my code is that in the last line it says "Cannot implicitly convert type 'object' to 'byte'"
Thanks!Code:ArrayList bufferBytes = new ArrayList(); byte tmpByteN; byte tmpByte; tmpByteN = BRN.ReadByte(); bufferBytes.Add(tmpByteN); tmpByte = bufferBytes[0];




Reply With Quote