You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2019/03/19 10:40:12 UTC

[royale-asjs] branch develop updated: Keep offset and length

This is an automated email from the ASF dual-hosted git repository.

harbs pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 42d1709  Keep offset and length
42d1709 is described below

commit 42d17093ee224f39fca4aff290a84cccc918e2c9
Author: Harbs <ha...@in-tools.com>
AuthorDate: Tue Mar 19 12:39:54 2019 +0200

    Keep offset and length
---
 .../projects/Core/src/main/royale/org/apache/royale/utils/BinaryData.as | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/BinaryData.as b/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/BinaryData.as
index ec853b9..2143d31 100644
--- a/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/BinaryData.as
+++ b/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/BinaryData.as
@@ -293,7 +293,7 @@ public class BinaryData implements IBinaryDataInput, IBinaryDataOutput
 
         COMPILE::JS
         {
-			writeBytes(bytes.ba as ArrayBuffer)
+			writeBytes(bytes.ba as ArrayBuffer,offset,length);
         }
 
     }