Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# write byte[] to stream

static void Write(Stream s, Byte[] bytes)
{
    using (var writer = new BinaryWriter(s))
    {
        writer.Write(bytes);
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #write #stream
ADD COMMENT
Topic
Name
2+3 =