Searched refs:char2bytes (Results 1 - 1 of 1) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
H A DByteBufferTest.java806 assertTrue(Arrays.equals(bytes, char2bytes(value, buf.order())));
818 assertTrue(Arrays.equals(bytes, char2bytes(value, buf.order())));
1204 assertTrue(Arrays.equals(char2bytes(value, buf.order()), bytes));
1240 assertTrue(Arrays.equals(char2bytes(value, buf.order()), bytes));
2166 private byte[] char2bytes(char value, ByteOrder order) { method in class:ByteBufferTest

Completed in 174 milliseconds