String latin1Trimmed(int count) => String.fromCharCodes(take(count).where((int b) => b != 0)).trim();