Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for writeBoolean (0.25 sec)

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

            try {
                return Encdec.dec_utf8(b, 0, size);
            } catch (final IOException ioe) {
                throw new SmbException("", ioe);
            }
        }
    
        @Override
        public final void writeBoolean(final boolean v) throws SmbException {
            tmp[0] = (byte) (v ? 1 : 0);
            write(tmp, 0, 1);
        }
    
        @Override
        public final void writeByte(final int v) throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbRandomAccessFile.java

            try {
                return Encdec.dec_utf8(b, 0, size);
            } catch (final IOException ioe) {
                throw new SmbException("", ioe);
            }
        }
    
        @Override
        public final void writeBoolean(final boolean v) throws SmbException {
            this.tmp[0] = (byte) (v ? 1 : 0);
            write(this.tmp, 0, 1);
        }
    
        @Override
        public final void writeByte(final int v) throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            SmbRandomAccessFile raf = spy(newInstance("rw", false, true, false));
            // Intercept the 3-arg write to validate len
            doNothing().when(raf).write(any(byte[].class), anyInt(), anyInt());
            raf.writeBoolean(true);
            raf.writeByte(0x7F);
            ArgumentCaptor<Integer> lenCap = ArgumentCaptor.forClass(Integer.class);
            verify(raf, atLeast(2)).write(any(byte[].class), anyInt(), lenCap.capture());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top