Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for readBoolean (0.06 sec)

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

          try {
            return input.skipBytes(n);
          } catch (IOException e) {
            throw new IllegalStateException(e);
          }
        }
    
        @Override
        public boolean readBoolean() {
          try {
            return input.readBoolean();
          } catch (IOException e) {
            throw new IllegalStateException(e);
          }
        }
    
        @Override
        public byte readByte() {
          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)
  2. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                }
            }
            catch ( CIFSException e ) {
                throw SmbException.wrap(e);
            }
        }
    
    
        @Override
        public final boolean readBoolean () throws SmbException {
            if ( ( read(this.tmp, 0, 1) ) < 0 ) {
                throw new SmbEndOfFileException();
            }
            return this.tmp[ 0 ] != (byte) 0x00;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
  3. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

            assertThat(derReader.readOctetString()).isEqualTo("Smith".encodeUtf8())
          }
    
          derReader.read("test") { header3 ->
            assertThat(header3.tag).isEqualTo(1L)
            assertThat(derReader.readBoolean()).isTrue()
          }
    
          assertThat(derReader.hasNext()).isFalse()
        }
    
        assertThat(derReader.hasNext()).isFalse()
      }
    
      @Test fun `encode raw sequence`() {
        val buffer = Buffer()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 31.7K bytes
    - Viewed (0)
Back to top