- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for writeBoolean (0.07 sec)
-
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) -
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 Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15K bytes - Viewed (0) -
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) -
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) -
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) -
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 Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 31.7K bytes - Viewed (0)