encoding property

int encoding

The character encoding

  • 0x00 = ASCII
  • 0x01 = standard and OEM Extended ASCII codes
  • 0x02 = Unicode UTF-16

Implementation

int get encoding => data[9] & 0x03;