- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 599 for decodeTo (0.06 seconds)
-
src/main/java/jcifs/internal/dfs/DfsReferralResponseBuffer.java
*/ package jcifs.internal.dfs; import java.util.Arrays; import jcifs.Decodable; import jcifs.internal.util.SMBUtil; /** * DFS (Distributed File System) referral response buffer parser. * Decodes server responses to DFS referral requests, extracting information about * available DFS targets, path consumption details, and referral flags. * * @author mbechler */
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
if (rem == 0) { return 0; } return 8 - rem; } @Override public int decode(final byte[] buffer, final int bufferIndex) throws SMBProtocolDecodingException { return decode(buffer, bufferIndex, false); } /** * Decodes the SMB2 message from the buffer. * * @param buffer the buffer containing the message
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
} @Test @DisplayName("Test decode with valid single entry") void testDecodeValidSingleEntry() throws SMBProtocolDecodingException { String fileName = "document.pdf"; int action = FileNotifyInformation.FILE_ACTION_MODIFIED; byte[] buffer = createValidNotificationBuffer(fileName, action); int bytesRead = notifyInfo.decode(buffer, 0, buffer.length); assertTrue(bytesRead > 0);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0) -
internal/bucket/lifecycle/transition.go
if !t.set { return nil } type transitionWrapper Transition return enc.EncodeElement(transitionWrapper(t), start) } // UnmarshalXML decodes transition field from the XML form. func (t *Transition) UnmarshalXML(d *xml.Decoder, startElement xml.StartElement) error { type transitionWrapper Transition var trw transitionWrapper err := d.DecodeElement(&trw, &startElement) if err != nil {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 5.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/Smb2RdmaTransform.java
SMBUtil.writeInt4(length, dst, dstIndex + 12); return 16; } /** * Decode from byte array * * @param buffer source buffer * @param bufferIndex starting index * @return decoded transform */ public static Smb2RdmaTransform decode(byte[] buffer, int bufferIndex) { long offset = SMBUtil.readInt8(buffer, bufferIndex);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrObject.java
*/ public abstract void encode(NdrBuffer dst) throws NdrException; /** * Decodes this NDR object from the specified buffer * @param src the source buffer for decoding * @throws NdrException if decoding fails */ public abstract void decode(NdrBuffer src) throws NdrException;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.7K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/ndr/NdrObject.java
*/ public abstract void encode(NdrBuffer dst) throws NdrException; /** * Decodes this NDR object from the specified buffer * @param src the source buffer for decoding * @throws NdrException if decoding fails */ public abstract void decode(NdrBuffer src) throws NdrException;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.7K bytes - Click Count (0) -
internal/event/arn.go
} // MarshalXML - encodes to XML data. func (arn ARN) MarshalXML(e *xml.Encoder, start xml.StartElement) error { return e.EncodeElement(arn.String(), start) } // UnmarshalXML - decodes XML data. func (arn *ARN) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error { var s string if err := d.DecodeElement(&s, &start); err != nil { return err } parsedARN, err := parseARN(s) if err != nil { return err }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 2K bytes - Click Count (0) -
internal/bucket/replication/sourceselectioncriteria.go
if (s == SourceSelectionCriteria{}) { return nil } if !s.IsValid() { return errInvalidSourceSelectionCriteria } return nil } // UnmarshalXML - decodes XML data. func (s *SourceSelectionCriteria) UnmarshalXML(dec *xml.Decoder, start xml.StartElement) (err error) { // Make subtype to avoid recursive UnmarshalXML(). type sourceSelectionCriteria SourceSelectionCriteria ssc := sourceSelectionCriteria{}
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 2.5K bytes - Click Count (0) -
internal/bucket/lifecycle/lifecycle.go
for _, rule := range lc.Rules { if !rule.Expiration.IsNull() || !rule.NoncurrentVersionExpiration.IsNull() { return true } } return false } // UnmarshalXML - decodes XML data. func (lc *Lifecycle) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error) { switch start.Name.Local { case "LifecycleConfiguration", "BucketLifecycleConfiguration": default:Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Apr 03 06:45:06 GMT 2025 - 18.2K bytes - Click Count (0)