mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-03-31 08:28:28 -04:00
service: Use ReadBufferSpan where it is trivial to do so
This commit is contained in:
@@ -367,7 +367,7 @@ protected:
|
||||
IPC::RequestParser rp{ctx};
|
||||
const auto base = rp.PopRaw<ProfileBase>();
|
||||
|
||||
const auto user_data = ctx.ReadBuffer();
|
||||
const auto user_data = ctx.ReadBufferSpan();
|
||||
|
||||
LOG_DEBUG(Service_ACC, "called, username='{}', timestamp={:016X}, uuid=0x{}",
|
||||
Common::StringFromFixedZeroTerminatedBuffer(
|
||||
@@ -399,8 +399,8 @@ protected:
|
||||
IPC::RequestParser rp{ctx};
|
||||
const auto base = rp.PopRaw<ProfileBase>();
|
||||
|
||||
const auto user_data = ctx.ReadBuffer();
|
||||
const auto image_data = ctx.ReadBuffer(1);
|
||||
const auto user_data = ctx.ReadBufferSpan();
|
||||
const auto image_data = ctx.ReadBufferSpan(1);
|
||||
|
||||
LOG_DEBUG(Service_ACC, "called, username='{}', timestamp={:016X}, uuid=0x{}",
|
||||
Common::StringFromFixedZeroTerminatedBuffer(
|
||||
|
||||
Reference in New Issue
Block a user