¡@

Home 

c# Programming Glossary: buffers

Convert a username to a SID string in C#/.NET

http://stackoverflow.com/questions/1040623/convert-a-username-to-a-sid-string-in-c-net

first call of the function only returns the sizes of buffers SDI domain name LookupAccountName null name _sid ref _sidLength..

How to empty/flush Windows READ disk cache in C#?

http://stackoverflow.com/questions/122362/how-to-empty-flush-windows-read-disk-cache-in-c

and not really interested in learning how to flush I O buffers from .NET you may just use DiskSpd utility from http research.microsoft.com..

C# FileStream : Optimal buffer size for writing large files?

http://stackoverflow.com/questions/1862982/c-sharp-filestream-optimal-buffer-size-for-writing-large-files

values for the FileStream Is it sensible to work with buffersizes of several megabytes or should I stick to kilobyte buffers.. of several megabytes or should I stick to kilobyte buffers c# size buffer filestream share improve this question Default..

Using Protobuf-net, I suddenly got an exception about an unknown wire-type

http://stackoverflow.com/questions/2152978/using-protobuf-net-i-suddenly-got-an-exception-about-an-unknown-wire-type

all what the next data looks like. Each field in protocol buffers is prefixed by a header that tells it which field number it.. it up. Files must be truncated when re writing protocol buffers. You can do this with FileMode using var file new FileStream..

List of new features in C#2.0, 3.0 and 4.0 [closed]

http://stackoverflow.com/questions/3174942/list-of-new-features-in-c2-0-3-0-and-4-0

namespace aliases pragma directives and fixed sized buffers. C# 3.0 C# 3 primarily built towards LINQ although many features..

Is there a .NET equivalent to Apache Hadoop?

http://stackoverflow.com/questions/339344/is-there-a-net-equivalent-to-apache-hadoop

are doing the same. If you look at projects like protocol buffers or facebook's thrift you see that sometimes it's just best to..

What exactly are unmanaged resources?

http://stackoverflow.com/questions/3433197/what-exactly-are-unmanaged-resources

Open network connections Unmanaged memory In XNA vertex buffers index buffers textures etc. Normally you want to release those.. connections Unmanaged memory In XNA vertex buffers index buffers textures etc. Normally you want to release those unmanaged resources..

Response.AddHeader(“Content-Disposition”) not opening file in IE6

http://stackoverflow.com/questions/3889521/response-addheadercontent-disposition-not-opening-file-in-ie6

the problem in IE 6 we have to read the content and use buffers and binary write to open file in IE 6 the code below works fine..

WCF HttpTransport: streamed vs buffered TransferMode

http://stackoverflow.com/questions/4043683/wcf-httptransport-streamed-vs-buffered-transfermode

requests in that case BufferManager will create separate buffers for all concurrent requests which will never be cleaned up unless..

Interprocess communication for Windows in C# (.NET 2.0)

http://stackoverflow.com/questions/50153/interprocess-communication-for-windows-in-c-sharp-net-2-0

library aa378623 v VS.85 .aspx Also has a google protocol buffers rpc client that runs on top of the library https code.google.com..

Any faster way of copying arrays in C#?

http://stackoverflow.com/questions/5099604/any-faster-way-of-copying-arrays-in-c

const int COUNT 32 SIZE 32 20 Use different buffers to help avoid CPU cache effects static byte aSource new byte..

C# Begin/EndReceive - how do I read large data?

http://stackoverflow.com/questions/582550/c-sharp-begin-endreceive-how-do-i-read-large-data

length header sounds ok but I'm planning on using protocol buffers I don't know the format of the data. Is there a length header..

Deserialize unknown type with protobuf-net

http://stackoverflow.com/questions/675349/deserialize-unknown-type-with-protobuf-net

ProtoBuf.PrefixStyle.Base128 c# serialization protocol buffers protobuf net share improve this question First for network..

How can I prevent BufferManager / PooledBufferManager in my WCF client app from wasting memory?

http://stackoverflow.com/questions/7252417/how-can-i-prevent-buffermanager-pooledbuffermanager-in-my-wcf-client-app-from

.net's PooledBufferManager will never ever release unused buffers even when the app runs out of memory leading to OOMEs. This.. en us library ms405814.aspx The pool and its buffers are ... destroyed when the buffer pool is reclaimed by garbage.. which you can use to manually get rid off all buffers if you have access to the BufferManager that is. See further..

What is the point of the ISerializable interface?

http://stackoverflow.com/questions/810974/what-is-the-point-of-the-iserializable-interface

json are good as are cross platform formats like protocol buffers. For completeness protobuf net does include hooks for ISerializable..

How to declare a friend assembly?

http://stackoverflow.com/questions/1123683/how-to-declare-a-friend-assembly

the InternalsVisibleTo attribute. For example in Protocol Buffers I use assembly InternalsVisibleTo Google.ProtocolBuffers.Test.. Buffers I use assembly InternalsVisibleTo Google.ProtocolBuffers.Test PublicKey 00240000048000009400000006020000002400005253413100040000010001008179f2dd31a648..

Using ServiceStack to upload image files

http://stackoverflow.com/questions/16475720/using-servicestack-to-upload-image-files

multipart form data then use a binary format like Protocol Buffers support in ServiceStack and send byte to avoid the computational..

Reading large text files with streams in C#

http://stackoverflow.com/questions/2161895/reading-large-text-files-with-streams-in-c-sharp

reducing the number of calls to the operating system. Buffers improve read and write performance. A buffer can be used for..

What's the best way to represent System.Decimal in Protocol Buffers?

http://stackoverflow.com/questions/371604/whats-the-best-way-to-represent-system-decimal-in-protocol-buffers

the best way to represent System.Decimal in Protocol Buffers Following on from this question what would be the best way..

Google's Protocol Buffers in c#

http://stackoverflow.com/questions/3908140/googles-protocol-buffers-in-c-sharp

Protocol Buffers in c# We are looking at using Google's Protocol Buffers to.. Buffers in c# We are looking at using Google's Protocol Buffers to handle serialization between a c application and a c# application..

Fast and compact object serialization in .NET

http://stackoverflow.com/questions/549128/fast-and-compact-object-serialization-in-net

share improve this question You can use Protocol Buffers . I'm changing all my serialization code from BinaryFormatter.. code from BinaryFormatter with compression to Protocol Buffers and obtaining very good results. It's more efficient in both..

C# HttpWebRequest SEC_I_RENEGOTIATE Intermittent Errors

http://stackoverflow.com/questions/6232746/c-sharp-httpwebrequest-sec-i-renegotiate-intermittent-errors

System.Net Information 0 7148 InitializeSecurityContext In Buffers count 2 Out Buffer length 0 returned code ContinueNeeded . System.Net.. System.Net Information 0 7148 InitializeSecurityContext In Buffers count 2 Out Buffer length 0 returned code ContinueNeeded . System.Net.. System.Net Information 0 7148 InitializeSecurityContext In Buffers count 2 Out Buffer length 1259 returned code ContinueNeeded..

Fastest serializer and deserializer with lowest memory footprint in C#?

http://stackoverflow.com/questions/626766/fastest-serializer-and-deserializer-with-lowest-memory-footprint-in-c

share improve this question It sounds like Protocol Buffers might be what you're looking for. There are three .NET implementations.. Proto# . The performance comparisons show that Protocol Buffers outperform the built in serializers in terms of both size and..

Byte for byte serialization of a struct in C#

http://stackoverflow.com/questions/628843/byte-for-byte-serialization-of-a-struct-in-c-sharp