Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for writeBoolean (0.09 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            try {
                return Encdec.dec_utf8( b, 0, size );
            } catch( IOException ioe ) {
                throw new SmbException( "", ioe );
            }
        }
        public final void writeBoolean( boolean v ) throws SmbException {
            tmp[0] = (byte)(v ? 1 : 0);
            write( tmp, 0, 1 );
        }
        public final void writeByte( int v ) throws SmbException {
            tmp[0] = (byte)v;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

              override fun decode(reader: DerReader): Boolean = reader.readBoolean()
    
              override fun encode(
                writer: DerWriter,
                value: Boolean,
              ) = writer.writeBoolean(value)
            },
        )
    
      val INTEGER_AS_LONG =
        BasicDerAdapter(
          name = "INTEGER",
          tagClass = DerHeader.TAG_CLASS_UNIVERSAL,
          tag = 2L,
          codec =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/ByteStreams.java

            output.write(b, off, len);
          } catch (IOException impossible) {
            throw new AssertionError(impossible);
          }
        }
    
        @Override
        public void writeBoolean(boolean v) {
          try {
            output.writeBoolean(v);
          } catch (IOException impossible) {
            throw new AssertionError(impossible);
          }
        }
    
        @Override
        public void writeByte(int v) {
          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)
  4. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                return Encdec.dec_utf8(b, 0, size);
            }
            catch ( IOException ioe ) {
                throw new SmbException("", ioe);
            }
        }
    
    
        @Override
        public final void writeBoolean ( boolean v ) throws SmbException {
            this.tmp[ 0 ] = (byte) ( v ? 1 : 0 );
            write(this.tmp, 0, 1);
        }
    
    
        @Override
        public final void writeByte ( int v ) throws SmbException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
  5. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

          }
    
          derWriter.write(
            name = "test",
            tagClass = DerHeader.TAG_CLASS_UNIVERSAL,
            tag = 1L,
          ) {
            derWriter.writeBoolean(true)
          }
        }
    
        assertThat(buffer.readByteString()).isEqualTo("300a1505536d6974680101ff".decodeHex())
      }
    
      @Test fun `sequence of`() {
        val bytes = "3009020107020108020109".decodeHex()
    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