darrenhillconsulting
11/30/2023, 7:17 PMdarrenhillconsulting
11/30/2023, 7:24 PMalien4u
11/30/2023, 7:26 PMExtendApps Inc.
11/30/2023, 7:39 PMdarrenhillconsulting
11/30/2023, 7:45 PMbattk
11/30/2023, 7:57 PMbattk
11/30/2023, 7:57 PMbattk
11/30/2023, 7:57 PMThe Usual Suspect
11/30/2023, 8:01 PMconst getByteSize = (s) => {
return ~-encodeURI(s).split(/%..|./).length;
}
You can use this abhorrent function get find size. Can't remember how it works but probably stole it off stack overflowThe Usual Suspect
11/30/2023, 8:01 PMThe Usual Suspect
11/30/2023, 8:03 PMdarrenhillconsulting
11/30/2023, 8:04 PMdarrenhillconsulting
11/30/2023, 8:05 PMThe Usual Suspect
11/30/2023, 8:06 PM