mirror of
https://github.com/mbilker/vgpu_unlock-rs.git
synced 2025-06-08 13:28:23 +02:00
dump: export dump function
This commit is contained in:
parent
dd5c379c78
commit
b969aed98a
@ -2,7 +2,7 @@ use std::cmp;
|
|||||||
use std::fmt::Write;
|
use std::fmt::Write;
|
||||||
|
|
||||||
#[allow(dead_code)]
|
#[allow(dead_code)]
|
||||||
fn dump(data: &[u8]) -> String {
|
pub fn dump(data: &[u8]) -> String {
|
||||||
let mut output = String::new();
|
let mut output = String::new();
|
||||||
|
|
||||||
if data.is_empty() {
|
if data.is_empty() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user