public void WriteLongString(string rstr, Utf8StrEnum eEncode) { byte[] buf = null; if (eEncode == Utf8StrEnum.utf8strNone) { buf = Encoding.Default.GetBytes(rstr); } else { buf = Encoding.UTF8.GetBytes(rstr); } WriteUInt32(Convert.ToUInt32(buf.Length)); Write(buf); }
public bool WriteNewEd2kTag(TagIO file, Utf8StrEnum eStrEncode) { throw new Exception("The method or operation is not implemented."); }