dartTwitterAPI icon indicating copy to clipboard operation
dartTwitterAPI copied to clipboard

Fix byte encoding

Open viniciuslrangel opened this issue 5 years ago • 0 comments

  • Using utf8 chars with more than 1 bytes adds a wrong offset to the loop (accessing the wrong index from val)
  • Chars that starts with a zero (like 0x0A), toRadixString(16) gives a string with length == 1 resulting in a index out of range

viniciuslrangel avatar Feb 07 '20 16:02 viniciuslrangel