diff options
Diffstat (limited to 'SendGrid/SendGridMail/Utils.cs')
-rwxr-xr-x | SendGrid/SendGridMail/Utils.cs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/SendGrid/SendGridMail/Utils.cs b/SendGrid/SendGridMail/Utils.cs index c6f4386..0221aa4 100755 --- a/SendGrid/SendGridMail/Utils.cs +++ b/SendGrid/SendGridMail/Utils.cs @@ -27,20 +27,5 @@ namespace SendGridMail {
return "{"+String.Join(",",dic.Select(kvp => Serialize(kvp.Key) + ":" + Serialize(kvp.Value)))+"}";
}
-
- public static byte[] ReadFully(Stream input)
- {
- byte[] buffer = new byte[16*1024];
- using (MemoryStream ms = new MemoryStream())
- {
- int read;
- while ((read = input.Read(buffer, 0, buffer.Length)) > 0)
- {
- ms.Write(buffer, 0, read);
- }
- return ms.ToArray();
- }
- }
-
}
}
|