Construction of a List of byte[] in a MemoryStream: Wrong number of elements C# -
i'm trying create list of byte[], list of bitmapimage, getting bytes using memorystream.
i put image let see debugger, tells me size of array 1,048,576. , want calculations:
but, let me show result of console.writeline:
there are, @ end, 460 arrays of bytes, , none of them have right number of bytes
and later in code, "out of range" exception
am doing wrong? why debugger giving me "right" values ("right" because want) seems wrong ?
Comments
Post a Comment