CSPspEmu.Hle.Modules.mpeg.Mpeg.WriteData C# (CSharp) Метод

WriteData() публичный Метод

public WriteData ( void DataPointer, int DataLength ) : void
DataPointer void
DataLength int
Результат void
		public void WriteData(void* DataPointer, int DataLength)
		{
			Console.Out.WriteLineColored(ConsoleColor.Cyan, "{0}: {1}", new IntPtr(DataPointer), DataLength);
			try
			{
				var Data = PointerUtils.PointerToByteArray((byte*)DataPointer, DataLength);
				if (DumpStreams) FileUtils.CreateAndAppendStream(@"c:\isos\psp\out\mpeg.stream", new MemoryStream(Data));
				MpegStream.WriteBytes(Data);
			}
			catch (Exception Exception)
			{
				Console.Error.WriteLineColored(ConsoleColor.Red, "{0}", Exception);
			}
		}