endianorder.html
来自「这个是java的quicktime for java 的详细使用文档」· HTML 代码 · 共 765 行 · 第 1/3 页
HTML
765 行
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static long</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/util/EndianOrder.html#flipNativeToBigEndian64(long)">flipNativeToBigEndian64</A></B>(long l)</CODE><BR> This will flip the endian order of a 64bit value iff the current runtime architecture is <B>little endian</B>, otherwise the returned value is the same as the supplied value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/util/EndianOrder.html#flipNativeToLittleEndian(java.lang.Object, int, quicktime.util.EndianDescriptor)">flipNativeToLittleEndian</A></B>(java.lang.Object src, int srcOffset, <A HREF="../../quicktime/util/EndianDescriptor.html">EndianDescriptor</A> ed)</CODE><BR> This will flip, iff the current runtime architecture is <B>big endian</B>, the supplied src object's fields according to the characteristics of the supplied EndianDescriptor.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/util/EndianOrder.html#flipNativeToLittleEndian(java.lang.Object, int, java.lang.Object, int, quicktime.util.EndianDescriptor)">flipNativeToLittleEndian</A></B>(java.lang.Object src, int srcOffset, java.lang.Object dest, int destOffset, <A HREF="../../quicktime/util/EndianDescriptor.html">EndianDescriptor</A> ed)</CODE><BR> This will flip, iff the current runtime architecture is <B>big endian</B>, the supplied src object's fields according to the characteristics of the supplied EndianDescriptor and copy these flipped values to the destination object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static short</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/util/EndianOrder.html#flipNativeToLittleEndian16(short)">flipNativeToLittleEndian16</A></B>(short s)</CODE><BR> This will flip the endian order of a 16bit value iff the current runtime architecture is <B>big endian</B>, otherwise the returned value is the same as the supplied value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/util/EndianOrder.html#flipNativeToLittleEndian32(int)">flipNativeToLittleEndian32</A></B>(int i)</CODE><BR> This will flip the endian order of a 32bit value iff the current runtime architecture is <B>big endian</B>, otherwise the returned value is the same as the supplied value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static long</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/util/EndianOrder.html#flipNativeToLittleEndian64(long)">flipNativeToLittleEndian64</A></B>(long l)</CODE><BR> This will flip the endian order of a 64bit value iff the current runtime architecture is <B>big endian</B>, otherwise the returned value is the same as the supplied value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/util/EndianOrder.html#isNativeBigEndian()">isNativeBigEndian</A></B>()</CODE><BR> Returns true if the current runtime architecture is big endian.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/util/EndianOrder.html#isNativeLittleEndian()">isNativeLittleEndian</A></B>()</CODE><BR> Returns true if the current runtime architecture is little endian.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="isNativeLittleEndian()"><!-- --></A><H3>isNativeLittleEndian</H3><PRE>public static boolean <B>isNativeLittleEndian</B>()</PRE><DL><DD>Returns true if the current runtime architecture is little endian.<DD><DL><DT><B>Returns:</B><DD>a boolean</DL></DD></DL><HR><A NAME="isNativeBigEndian()"><!-- --></A><H3>isNativeBigEndian</H3><PRE>public static boolean <B>isNativeBigEndian</B>()</PRE><DL><DD>Returns true if the current runtime architecture is big endian.<DD><DL><DT><B>Returns:</B><DD>a boolean</DL></DD></DL><HR><A NAME="flipNativeToBigEndian16(short)"><!-- --></A><H3>flipNativeToBigEndian16</H3><PRE>public static short <B>flipNativeToBigEndian16</B>(short s)</PRE><DL><DD>This will flip the endian order of a 16bit value iff the current runtime architecture is <B>little endian</B>, otherwise the returned value is the same as the supplied value.<DD><DL><DT><B>Parameters:</B><DD><CODE>s</CODE> - the value to flip<DT><B>Returns:</B><DD>the flipped value if the runtime architecture is <B>little endian</B>, otherwise the original value</DL></DD></DL><HR><A NAME="flipBigEndianToNative16(short)"><!-- --></A><H3>flipBigEndianToNative16</H3><PRE>public static short <B>flipBigEndianToNative16</B>(short s)</PRE><DL><DD>This will flip the endian order of a 16bit value iff the current runtime architecture is <B>little endian</B>, otherwise the returned value is the same as the supplied value.<DD><DL><DT><B>Parameters:</B><DD><CODE>s</CODE> - the value to flip<DT><B>Returns:</B><DD>the flipped value if the runtime architecture is <B>little endian</B>, otherwise the original value</DL></DD></DL><HR><A NAME="flipNativeToLittleEndian16(short)"><!-- --></A><H3>flipNativeToLittleEndian16</H3><PRE>public static short <B>flipNativeToLittleEndian16</B>(short s)</PRE><DL><DD>This will flip the endian order of a 16bit value iff the current runtime architecture is <B>big endian</B>, otherwise the returned value is the same as the supplied value.<DD><DL><DT><B>Parameters:</B><DD><CODE>s</CODE> - the value to flip<DT><B>Returns:</B><DD>the flipped value if the runtime architecture is <B>big endian</B>, otherwise the original value</DL></DD></DL><HR><A NAME="flipLittleEndianToNative16(short)"><!-- --></A><H3>flipLittleEndianToNative16</H3><PRE>public static short <B>flipLittleEndianToNative16</B>(short s)</PRE><DL><DD>This will flip the endian order of a 16bit value iff the current runtime architecture is <B>big endian</B>, otherwise the returned value is the same as the supplied value.<DD><DL><DT><B>Parameters:</B><DD><CODE>s</CODE> - the value to flip<DT><B>Returns:</B><DD>the flipped value if the runtime architecture is <B>big endian</B>, otherwise the original value</DL></DD></DL><HR><A NAME="flipNativeToBigEndian32(int)"><!-- --></A><H3>flipNativeToBigEndian32</H3><PRE>public static int <B>flipNativeToBigEndian32</B>(int i)</PRE><DL><DD>This will flip the endian order of a 32bit value iff the current runtime architecture is <B>little endian</B>, otherwise the returned value is the same as the supplied value.<DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - the value to flip<DT><B>Returns:</B><DD>the flipped value if the runtime architecture is <B>little endian</B>, otherwise the original value</DL></DD></DL><HR><A NAME="flipBigEndianToNative32(int)"><!-- --></A><H3>flipBigEndianToNative32</H3><PRE>public static int <B>flipBigEndianToNative32</B>(int i)</PRE><DL><DD>This will flip the endian order of a 32bit value iff the current runtime architecture is <B>little endian</B>, otherwise the returned value is the same as the supplied value.<DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - the value to flip<DT><B>Returns:</B><DD>the flipped value if the runtime architecture is <B>little endian</B>, otherwise the original value</DL></DD></DL><HR><A NAME="flipNativeToLittleEndian32(int)"><!-- --></A><H3>flipNativeToLittleEndian32</H3><PRE>public static int <B>flipNativeToLittleEndian32</B>(int i)</PRE><DL><DD>This will flip the endian order of a 32bit value iff the current runtime architecture is <B>big endian</B>, otherwise the returned value is the same as the supplied value.<DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - the value to flip<DT><B>Returns:</B><DD>the flipped value if the runtime architecture is <B>big endian</B>, otherwise the original value</DL></DD></DL><HR><A NAME="flipLittleEndianToNative32(int)"><!-- --></A><H3>flipLittleEndianToNative32</H3><PRE>public static int <B>flipLittleEndianToNative32</B>(int i)</PRE><DL><DD>This will flip the endian order of a 32bit value iff the current runtime architecture is <B>big endian</B>, otherwise the returned value is the same as the supplied value.<DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - the value to flip<DT><B>Returns:</B><DD>the flipped value if the runtime architecture is <B>big endian</B>, otherwise the original value</DL></DD></DL><HR><A NAME="flipNativeToBigEndian64(long)"><!-- --></A><H3>flipNativeToBigEndian64</H3><PRE>public static long <B>flipNativeToBigEndian64</B>(long l)</PRE><DL><DD>This will flip the endian order of a 64bit value iff the current runtime architecture is <B>little endian</B>, otherwise the returned value is the same as the supplied value.<DD><DL><DT><B>Parameters:</B><DD><CODE>l</CODE> - the value to flip<DT><B>Returns:</B><DD>the flipped value if the runtime architecture is <B>little endian</B>, otherwise the original value</DL></DD></DL><HR><A NAME="flipBigEndianToNative64(long)"><!-- --></A><H3>flipBigEndianToNative64</H3><PRE>public static long <B>flipBigEndianToNative64</B>(long l)</PRE><DL><DD>This will flip the endian order of a 64bit value iff the current runtime architecture is <B>little endian</B>, otherwise the returned value is the same as the supplied value.<DD><DL><DT><B>Parameters:</B><DD><CODE>l</CODE> - the value to flip<DT><B>Returns:</B><DD>the flipped value if the runtime architecture is <B>little endian</B>, otherwise the original value</DL></DD>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?