diff --git a/core/src/avm2/globals/flash/utils/ByteArray.as b/core/src/avm2/globals/flash/utils/ByteArray.as index 08bf8b1b7122..8bbd262a1b1b 100644 --- a/core/src/avm2/globals/flash/utils/ByteArray.as +++ b/core/src/avm2/globals/flash/utils/ByteArray.as @@ -1,6 +1,6 @@ package flash.utils { [Ruffle(InstanceAllocator)] - public class ByteArray implements IDataInput, IDataOutput { + public class ByteArray implements IDataInput2, IDataOutput2 { private static var _defaultObjectEncoding:uint = 3; public static function get defaultObjectEncoding():uint { return _defaultObjectEncoding; diff --git a/core/src/avm2/globals/flash/utils/IDataInput2.as b/core/src/avm2/globals/flash/utils/IDataInput2.as new file mode 100644 index 000000000000..9242eaec6544 --- /dev/null +++ b/core/src/avm2/globals/flash/utils/IDataInput2.as @@ -0,0 +1,4 @@ +package flash.utils { + internal interface IDataInput2 extends IDataInput { + } +} \ No newline at end of file diff --git a/core/src/avm2/globals/flash/utils/IDataOutput2.as b/core/src/avm2/globals/flash/utils/IDataOutput2.as new file mode 100644 index 000000000000..8356850320e4 --- /dev/null +++ b/core/src/avm2/globals/flash/utils/IDataOutput2.as @@ -0,0 +1,4 @@ +package flash.utils { + internal interface IDataOutput2 extends IDataOutput { + } +} \ No newline at end of file diff --git a/core/src/avm2/globals/globals.as b/core/src/avm2/globals/globals.as index cd98ee3abd31..a35dd7fecf5d 100644 --- a/core/src/avm2/globals/globals.as +++ b/core/src/avm2/globals/globals.as @@ -36,6 +36,8 @@ include "flash/crypto.as" include "flash/utils/IDataInput.as" include "flash/utils/IDataOutput.as" +include "flash/utils/IDataInput2.as" +include "flash/utils/IDataOutput2.as" include "flash/utils/IExternalizable.as" include "flash/utils/ByteArray.as" include "flash/utils/Dictionary.as"