- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 719 for decoding (0.09 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
byte[] buffer = new byte[0]; assertThrows(ArrayIndexOutOfBoundsException.class, () -> cmd.readBytesWireFormat(buffer, 0)); } /** * Test round‑trip encoding/decoding of ranges using the public * {@link LockingAndXRange} encode/decode methods. */ @Test void lockRangeEncodeDecodeRoundTrip() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/util/Encdec.java
* MA 02111-1307, USA */ package jcifs.util; import java.io.IOException; import java.util.Date; import jcifs.SmbConstants; /** * Encoding and decoding utility class for SMB protocol. * Provides methods for encoding/decoding various data types in different byte orders. */ public final class Encdec { private static final long SEC_BETWEEEN_1904_AND_1970 = 2082844800L;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImpl.java
public class FileNotifyInformationImpl implements FileNotifyInformation, Decodable { int nextEntryOffset; int action; int fileNameLength; String fileName; /** * Default constructor for decoding. */ public FileNotifyInformationImpl() { } @Override public int getAction() { return this.action; } @Override public String getFileName() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java
} /** * Creates a security descriptor by decoding from a byte buffer. * * @param buffer the byte buffer containing the security descriptor data * @param bufferIndex the starting offset in the buffer * @param len the length of data to decode * @throws IOException if an I/O error occurs during decoding */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcMessageTest.java
} } @Nested @DisplayName("Header Decoding Tests") class HeaderDecodingTests { @Test @DisplayName("decode_header should successfully parse valid header") void testDecodeHeaderSuccess() throws NdrException { // Mock NdrBuffer methods for successful decoding when(mockBuffer.dec_ndr_small()).thenReturn(5)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.3K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosToken.java
public class KerberosToken { private KerberosApRequest apRequest; /** * Constructs a KerberosToken from token bytes. * * @param token the token bytes * @throws PACDecodingException if token decoding fails */ public KerberosToken(byte[] token) throws PACDecodingException { this(token, null); } /** * Constructs a KerberosToken from token bytes with decryption keys. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/util/StringsTest.java
assertArrayEquals(ASCII_STRING.getBytes(StandardCharsets.US_ASCII), result, "Should produce same bytes as ASCII encoding"); } } @Nested @DisplayName("OEM Encoding Tests") class OEMEncodingTests { @Test @DisplayName("getOEMBytes should use configuration encoding") void testGetOEMBytes() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Encdec.java
* MA 02111-1307, USA */ package jcifs.smb1.util; import java.io.IOException; import java.util.Date; /** * Encoding and decoding utility class for SMB1 protocol. * Provides methods for encoding/decoding various data types in different byte orders. */ public class Encdec { /** * Default constructor for Encdec. * This is a utility class with static methods.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrException.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.dcerpc.ndr; import java.io.IOException; /** * Exception thrown when an error occurs during NDR encoding or decoding operations. */ public class NdrException extends IOException { /** * Error message for null reference pointers. */ public static final String NO_NULL_REF = "ref pointer cannot be null";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java
*/ class KerberosEncDataTest { /** * Test constructor with a valid token. * * @throws IOException if an I/O error occurs * @throws PACDecodingException if a PAC decoding error occurs * @throws UnknownHostException if the IP address is not found */ @Test void testConstructor() throws IOException, PACDecodingException, UnknownHostException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.7K bytes - Viewed (0)