public static byte[] CodePageSet(Codepage8 codePage, Codepage8KDU country, int codepage = 437) { return(Encoding.GetEncoding(codepage).GetBytes($"I8,{(int) codePage:x},{country:000}\n")); }
public static byte[] CodePageSet(Codepage8 codePage, Codepage8KDU country) { return(Encoding.GetEncoding(437).GetBytes(string.Format("I8,{0:x},{1:000}\n", (int)codePage, country))); }
public static byte[] CodePageSet(Codepage8 codePage, Codepage8KDU country) { return Encoding.GetEncoding(437).GetBytes(string.Format("I8,{0:x},{1:000}\n", (int)codePage, country)); }