views:

170

answers:

1

What is the C# .Net analog for Flash/Flex flash.utils.ByteArray?

+3  A: 

Mostly either BitConverter or BinaryReader/BinaryWriter.

Jon Skeet
how than to declare FOR EX public var stream:ByteArray; IN c# ?
Blender
@Ole Jak: You wouldn't. You'd create a new BinaryWriter (or BinaryReader) wrapping an existing stream.
Jon Skeet