Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testWrite_bytes (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava-tests/test/com/google/common/io/FilesTest.java

      public void testWriteString() throws IOException {
        File temp = createTempFile();
        Files.write(I18N, temp, UTF_16LE);
        assertThat(Files.toString(temp, UTF_16LE)).isEqualTo(I18N);
      }
    
      public void testWriteBytes() throws IOException {
        File temp = createTempFile();
        byte[] data = newPreFilledByteArray(2000);
        Files.write(data, temp);
        assertThat(Files.toByteArray(temp)).isEqualTo(data);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 22.8K bytes
    - Click Count (0)
Back to Top