Click here to Skip to main content
15,917,586 members
Home / Discussions / C#
   

C#

 
GeneralRe: Instance of struct = Object? Pin
Alvaro Mendez29-Aug-03 10:39
Alvaro Mendez29-Aug-03 10:39 
GeneralRe: Instance of struct = Object? Pin
David Stone29-Aug-03 11:41
sitebuilderDavid Stone29-Aug-03 11:41 
Generalipaddress.any Pin
MeisterBiber29-Aug-03 8:49
MeisterBiber29-Aug-03 8:49 
GeneralEnd an invoke early Pin
Ista29-Aug-03 8:30
Ista29-Aug-03 8:30 
General"memory stream is not expandable" Pin
devvvy29-Aug-03 7:32
devvvy29-Aug-03 7:32 
GeneralRe: "memory stream is not expandable" Pin
Daniel Turini29-Aug-03 7:52
Daniel Turini29-Aug-03 7:52 
GeneralRe: "memory stream is not expandable" Pin
devvvy29-Aug-03 8:19
devvvy29-Aug-03 8:19 
GeneralRe: "memory stream is not expandable" Pin
Daniel Turini29-Aug-03 8:26
Daniel Turini29-Aug-03 8:26 
norm wrote:
memoryStream.GetBuffer() retrives buffer. But there's no SetBuffer member for me to associate MemoryStream with a buffer.
Byte[]'s are not expandable, so any MemoryStream you create with them will make your stream fixed-size. Either pass a buffer bigger or use a memorystream-managed buffer.
This is what I don't get. Why do you need to set the memorystream buffer? After all, if I understood you correctly, what you need is a byte[] with the encrypted data, right?
Why can't you simply call memoryStream.GetBuffer() and create it with new MemoryStream() ?

You can do it on anything you choose - from .bat to .net - A customer
GeneralRe: "memory stream is not expandable" Pin
MeisterBiber29-Aug-03 8:02
MeisterBiber29-Aug-03 8:02 
GeneralRe: "memory stream is not expandable" Pin
devvvy29-Aug-03 8:23
devvvy29-Aug-03 8:23 
GeneralRe: "memory stream is not expandable" Pin
MeisterBiber29-Aug-03 8:32
MeisterBiber29-Aug-03 8:32 
GeneralRe: "memory stream is not expandable" Pin
devvvy29-Aug-03 14:22
devvvy29-Aug-03 14:22 
GeneralRe: "memory stream is not expandable" Pin
Daniel Turini29-Aug-03 8:33
Daniel Turini29-Aug-03 8:33 
GeneralRe: "memory stream is not expandable" Pin
devvvy29-Aug-03 14:16
devvvy29-Aug-03 14:16 
GeneralRe: "memory stream is not expandable" Pin
David Stone29-Aug-03 10:19
sitebuilderDavid Stone29-Aug-03 10:19 
GeneralRe: "memory stream is not expandable" Pin
devvvy29-Aug-03 14:02
devvvy29-Aug-03 14:02 
GeneralRe: "memory stream is not expandable" Pin
David Stone29-Aug-03 17:20
sitebuilderDavid Stone29-Aug-03 17:20 
GeneralRe: "memory stream is not expandable" Pin
devvvy29-Aug-03 17:55
devvvy29-Aug-03 17:55 
GeneralC# and Outlook... Pin
theJazzyBrain29-Aug-03 6:24
theJazzyBrain29-Aug-03 6:24 
GeneralRe: C# and Outlook... Pin
apferreira29-Aug-03 6:52
apferreira29-Aug-03 6:52 
QuestionHow do I Prevent addition to collections returned by properties Pin
Rahul Singh29-Aug-03 6:21
Rahul Singh29-Aug-03 6:21 
AnswerRe: How do I Prevent addition to collections returned by properties Pin
Frank Olorin Rizzi29-Aug-03 7:34
Frank Olorin Rizzi29-Aug-03 7:34 
AnswerRe: How do I Prevent addition to collections returned by properties Pin
leppie29-Aug-03 7:43
leppie29-Aug-03 7:43 
GeneralRe: How do I Prevent addition to collections returned by properties Pin
Daniel Turini29-Aug-03 8:38
Daniel Turini29-Aug-03 8:38 
GeneralRe: How do I Prevent addition to collections returned by properties Pin
Rahul Singh29-Aug-03 9:00
Rahul Singh29-Aug-03 9:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.