mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-26 05:06:12 +01:00
PR 1641 Added method to get the current read position of sf::Packet
This commit is contained in:
1 parent
e606b52c39
commit
7d2ebaf265
2 files changed
+19
No files matched your search
@@ -60,6 +60,13 @@ void sfPacket_append(sfPacket* packet, const void* data, size_t sizeInBytes)
|
||||
}
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
size_t sfPacket_getReadPosition(const sfPacket* packet)
|
||||
{
|
||||
CSFML_CALL_RETURN(packet, getReadPosition(), 0);
|
||||
}
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
void sfPacket_clear(sfPacket* packet)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user