diff options
Diffstat (limited to '')
-rw-r--r-- | heimdall/source/SendFilePartPacket.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/heimdall/source/SendFilePartPacket.h b/heimdall/source/SendFilePartPacket.h index 066aacb..092694a 100644 --- a/heimdall/source/SendFilePartPacket.h +++ b/heimdall/source/SendFilePartPacket.h @@ -51,6 +51,11 @@ namespace Heimdall int bytesRead = fread(data, 1, bytesToRead, file);
}
+ SendFilePartPacket(unsigned char *buffer, int size) : OutboundPacket(size)
+ {
+ memcpy(data, buffer, size);
+ }
+
void Pack(void)
{
}
|