- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for ByteEncodable (0.07 sec)
-
src/main/java/jcifs/util/ByteEncodable.java
* Provides standardized method for converting objects to their binary representation. * * @author mbechler */ public class ByteEncodable implements Encodable { private final byte[] bytes; private final int off; private final int len; /** * Constructs a ByteEncodable object wrapping a byte array segment. * * @param b the byte array to wrap * @param off the offset in the byte array
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/util/ByteEncodableTest.java
ByteEncodable encodable = new ByteEncodable(data, 1, 3); // Verify size assertEquals(3, encodable.size(), "Size should be equal to the specified length"); } @Test void testEncodeBasic() { // Test basic encoding byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05 }; ByteEncodable encodable = new ByteEncodable(data, 1, 3);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/EncodableTest.java
import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; import jcifs.util.ByteEncodable; @DisplayName("Encodable contract tests using ByteEncodable") class EncodableTest { // Generates a few representative slices and destination indices. static Stream<Arguments> byteEncodableArgs() { return Stream.of(
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeHandleImpl.java
import jcifs.internal.smb1.trans.TransWaitNamedPipeResponse; import jcifs.internal.smb2.ioctl.Smb2IoctlRequest; import jcifs.internal.smb2.ioctl.Smb2IoctlResponse; import jcifs.util.ByteEncodable; /** * @author mbechler * */ class SmbPipeHandleImpl implements SmbPipeHandleInternal { private static final Logger log = LoggerFactory.getLogger(SmbPipeHandleImpl.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 10.2K bytes - Viewed (0)