Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for readChar (0.04 sec)

  1. guava/src/com/google/common/io/BaseEncoding.java

        checkNotNull(toIgnore);
        return new Reader() {
          @Override
          public int read() throws IOException {
            int readChar;
            do {
              readChar = delegate.read();
            } while (readChar != -1 && toIgnore.indexOf((char) readChar) >= 0);
            return readChar;
          }
    
          @Override
          public int read(char[] cbuf, int off, int len) throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

        assertEquals(false, in.readBoolean());
        assertEquals(100, in.readByte());
        assertEquals(-100, in.readByte());
        assertEquals(200, in.readUnsignedByte());
        assertEquals('\u6100', in.readChar());
        assertEquals(-12150, in.readShort());
        assertEquals(20675, in.readUnsignedShort());
        assertEquals(0xBEBAFECA, in.readInt());
        assertEquals(0xBEBAFECAEFBEADDEL, in.readLong());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

        assertEquals(false, in.readBoolean());
        assertEquals(100, in.readByte());
        assertEquals(-100, in.readByte());
        assertEquals(200, in.readUnsignedByte());
        assertEquals('\u6100', in.readChar());
        assertEquals(-12150, in.readShort());
        assertEquals(20675, in.readUnsignedShort());
        assertEquals(0xBEBAFECA, in.readInt());
        assertEquals(0xBEBAFECAEFBEADDEL, in.readLong());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/ByteStreams.java

          try {
            return input.readUnsignedShort();
          } catch (IOException e) {
            throw new IllegalStateException(e);
          }
        }
    
        @Override
        public char readChar() {
          try {
            return input.readChar();
          } catch (IOException e) {
            throw new IllegalStateException(e);
          }
        }
    
        @Override
        public int readInt() {
          try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 29.7K bytes
    - Viewed (0)
Back to top