FluorineFx.NET

ByteArray

The ByteArray class provides methods and properties to optimize reading, writing, and working with binary data. A ByteArray object is deserialized to FluorineFx.AMF3.ByteArray server class or to a byte array (byte[]).

 

The ObjectEncoding property controls whether ActionScript 3.0 or ActionScript 1.0 format should be used when writing to or reading from a ByteArray instance.

The Compress method compresses the entire ByteArray using zlib compression.

The Uncompress method decompresses the entire ByteArray (previously compressed with the Compress() method).

 

For further details see the ByteArray sample provided in the FluorineFx installation.