BinaryFileVisualizer.Model.DrawPixel C# (CSharp) Method

DrawPixel() private method

private DrawPixel ( IntPtr bitmapLine, int offset, long filePosition ) : void
bitmapLine System.IntPtr
offset int
filePosition long
return void
        private void DrawPixel(IntPtr bitmapLine, int offset, long filePosition)
        {
            ByteColor color;

            fileAccessor.Read(filePosition, out color);

            WriteColor(bitmapLine, offset, color.Red, color.Green, color.Blue, byte.MaxValue);
        }