TheGameCreators / AGK-Studio

3 stars 1 forks source link

[Request] ReadSocketBytes(int iSocketID, int NumBytesToRead) #1107

Open PartTimeCode opened 1 year ago

PartTimeCode commented 1 year ago

As the title says this function would be super useful for custom socket setups

unsigned char* cBytes = agk::ReadSocketBytes(int iSocketID, int NumBytesToRead) it would also need accompanying memory accessor functions

int agk::ReadInt(unsigned char cBytes ) float agk::ReadFloat(unsigned char cBytes ) const char agk::ReadString(unsigned char cBytes )

How that would translate to Tier1 I dont know but I do know this small function set would have been fantastic for the code I have just written!