- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for readChar (0.05 seconds)
-
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 {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Oct 06 14:51:47 GMT 2025 - 41.7K bytes - Click Count (0) -
android/guava/src/com/google/common/io/LittleEndianDataInputStream.java
/** * Reads a char as specified by {@link DataInputStream#readChar()}, except using little-endian * byte order. * * @return the next two bytes of the input stream, interpreted as a {@code char} in little-endian * byte order * @throws IOException if an I/O error occurs */ @CanIgnoreReturnValue // to skip some bytes @Override public char readChar() throws IOException { return (char) readUnsignedShort();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 12 03:49:18 GMT 2025 - 7.3K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ByteArrayDataInput.java
@Override short readShort(); @CanIgnoreReturnValue // to skip some bytes @Override int readUnsignedShort(); @CanIgnoreReturnValue // to skip some bytes @Override char readChar(); @CanIgnoreReturnValue // to skip some bytes @Override int readInt(); @CanIgnoreReturnValue // to skip some bytes @Override long readLong(); @CanIgnoreReturnValue // to skip some bytes
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 27 20:25:25 GMT 2024 - 2.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.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());
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.9K bytes - Click Count (0) -
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 {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 31.1K bytes - Click Count (0)