public static bool BASS_Encode_CastSendMeta(int handle, BASSEncodeMetaDataType type, string xml) { if (string.IsNullOrEmpty(xml)) { return(false); } byte[] bytes = Encoding.UTF8.GetBytes(xml); return(BassEnc.BASS_Encode_CastSendMeta(handle, type, bytes, bytes.Length)); }
public static bool BASS_Encode_CastSendMeta(int handle, BASSEncodeMetaDataType type, byte[] buffer) { return(BassEnc.BASS_Encode_CastSendMeta(handle, type, buffer, buffer.Length)); }