From 85f8890aeb20b52c3617dbcc615d054f4f471231 Mon Sep 17 00:00:00 2001 From: adcondev <38170282+adcondev@users.noreply.github.com> Date: Thu, 12 Feb 2026 17:01:35 +0000 Subject: [PATCH] refactor(bitimage): use shared.ToLittleEndian for size conversion Replace manual bitwise operations for little-endian conversion with the `shared.ToLittleEndian` helper function in `download_graphics_commands.go`, `graphics_commands.go`, and `nv_graphics_commands.go`. This improves code readability and maintainability by standardizing on the shared utility. Affected functions: - `DefineDownloadGraphics` - `DefineDownloadGraphicsColumn` - `StoreRasterGraphicsInBuffer` - `StoreColumnGraphicsInBuffer` - `DefineNVRasterGraphics` - `DefineNVColumnGraphics` Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>