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