You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ha...@apache.org on 2016/08/04 05:29:39 UTC

[10/15] git commit: [flex-asjs] [refs/heads/refactor-sprite] - [Docs] Fixed endian doc comments, following change to BIG_ENDIAN as default for js

[Docs] Fixed endian doc comments, following change to BIG_ENDIAN as default for js


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/20f26116
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/20f26116
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/20f26116

Branch: refs/heads/refactor-sprite
Commit: 20f26116f097742808f390d9c74066a276b67e10
Parents: c7bb721
Author: greg-dove <gr...@gmail.com>
Authored: Wed Jul 27 07:58:37 2016 +1200
Committer: greg-dove <gr...@gmail.com>
Committed: Wed Jul 27 07:58:37 2016 +1200

----------------------------------------------------------------------
 .../Core/src/main/flex/org/apache/flex/utils/BinaryData.as    | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/20f26116/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/BinaryData.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/BinaryData.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/BinaryData.as
index 29e4e76..1b9cfda 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/BinaryData.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/BinaryData.as
@@ -133,10 +133,9 @@ public class BinaryData implements IBinaryDataInput, IBinaryDataOutput
 
     /**
      *  Indicates the byte order for the data.
-     *  The default is the target default which in Javascript is machine dependent.
-     *  It is possible to check the default Endianness of the target platform at runtime with
-     *  <code>org.apache.flex.utils.Endian.defaultEndian</code>
-     *  To ensure portable bytes, set the endian to Endian.BIG_ENDIAN or Endian.LITTLE_ENDIAN as appropriate.
+     *  The default is Endian BIG_ENDIAN.
+     *  It is possible to check the default system Endianness of the target platform at runtime with
+     *  <code>org.apache.flex.utils.Endian.systemEndian</code>.
      *  Setting to values other than Endian.BIG_ENDIAN or Endian.LITTLE_ENDIAN is ignored.
      *
      *  @langversion 3.0