Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SendPacketsElement() [5/13]

System.Net.Sockets.SendPacketsElement.SendPacketsElement ( string filepath,
long offset,
int count,
bool endOfPacket )
inline

Definition at line 43 of file SendPacketsElement.cs.

44 {
45 if (filepath == null)
46 {
47 throw new ArgumentNullException("filepath");
48 }
49 if (offset < 0)
50 {
51 throw new ArgumentOutOfRangeException("offset");
52 }
53 if (count < 0)
54 {
55 throw new ArgumentOutOfRangeException("count");
56 }
57 Initialize(filepath, null, null, null, offset, count, endOfPacket);
58 }
void Initialize(string filePath, FileStream fileStream, byte[] buffer, ReadOnlyMemory< byte >? memoryBuffer, long offset, int count, bool endOfPacket)

References System.count, System.Net.Sockets.SendPacketsElement.Initialize(), and System.offset.