pub type DataSinkReadFirmwareResult = Result<Buffer, i32>;