public static string GetString(this IList <FileStructure.PTP.TextBaseElement> ByteCollection, CharList CharList, bool LineSplit) { string returned = ""; foreach (var MSG in ByteCollection) { returned += MSG.GetText(CharList); } return(returned); }
public static string GetString(this IList <FileStructure.Text.TextBaseElement> ByteCollection, Encoding encoding, bool LineSplit = false) { string returned = ""; foreach (var MSG in ByteCollection) { returned += MSG.GetText(encoding, LineSplit); } return(returned); }
public static string GetString(this IList <MyByteArray> ByteCollection, IList <FnMpData> CharList, bool OnlySystem) { string returned = ""; if (OnlySystem) { foreach (var MSG in ByteCollection) { returned += MSG.GetSystem(); } } else { foreach (var MSG in ByteCollection) { returned += MSG.GetText(CharList); } } return(returned); }