File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/main/java/org/scijava/io Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -128,18 +128,18 @@ default boolean ensureWritable(final long count) throws IOException {
128128 /** Returns the byte order of the stream. */
129129 ByteOrder getOrder ();
130130
131- /** Gets the endianness of the stream. */
132- default boolean isLittleEndian () {
133- return getOrder () == ByteOrder .LITTLE_ENDIAN ;
134- }
135-
136131 /**
137132 * Sets the byte order of the stream.
138133 *
139134 * @param order Order to set.
140135 */
141136 void setOrder (ByteOrder order );
142137
138+ /** Gets the endianness of the stream. */
139+ default boolean isLittleEndian () {
140+ return getOrder () == ByteOrder .LITTLE_ENDIAN ;
141+ }
142+
143143 /** Sets the endianness of the stream. */
144144 default void setOrder (final boolean little ) {
145145 setOrder (little ? ByteOrder .LITTLE_ENDIAN : ByteOrder .BIG_ENDIAN );
You can’t perform that action at this time.
0 commit comments