ConvertDataTypes.comConvert data types programming in one click !

Convert Byte() to Byte in VB.net

    6975 hits
  • Dim vIn() As Byte = New Byte() {1, 1, 0}
  • Dim vOut As Byte = Convert.ToByte(BitConverter.ToChar(vIn, 0)) ' 0:Which Byte position to convert