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

◆ ByteArrayContent() [2/2]

System.Net.Http.ByteArrayContent.ByteArrayContent ( byte[] content,
int offset,
int count )
inline

Definition at line 27 of file ByteArrayContent.cs.

28 {
29 if (content == null)
30 {
31 throw new ArgumentNullException("content");
32 }
33 if (offset < 0 || offset > content.Length)
34 {
35 throw new ArgumentOutOfRangeException("offset");
36 }
37 if (count < 0 || count > content.Length - offset)
38 {
39 throw new ArgumentOutOfRangeException("count");
40 }
41 _content = content;
43 _count = count;
44 }

References System.Net.Http.ByteArrayContent._content, System.Net.Http.ByteArrayContent._count, System.Net.Http.ByteArrayContent._offset, System.count, and System.offset.