Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for getASCIIBytes (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/util/StringsTest.java

            }
    
            @Test
            @DisplayName("getASCIIBytes should encode string as ASCII")
            void testGetASCIIBytes() {
                // When
                byte[] result = Strings.getASCIIBytes(ASCII_STRING);
    
                // Then
                assertNotNull(result, "Result should not be null");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java

            final ByteArrayOutputStream bos = new ByteArrayOutputStream();
    
            for (final String dialect : this.dialects) {
                bos.write(0x02);
                try {
                    bos.write(Strings.getASCIIBytes(dialect));
                } catch (final IOException e) {
                    throw new RuntimeCIFSException(e);
                }
                bos.write(0x0);
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.5K bytes
    - Click Count (3)
Back to Top