Package jcifs.internal.smb1.com
Class LockingAndXRange
- java.lang.Object
-
- jcifs.internal.smb1.com.LockingAndXRange
-
-
Constructor Summary
Constructors Constructor Description LockingAndXRange(boolean largeFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdecode(byte[] buffer, int bufferIndex, int len)intencode(byte[] dst, int dstIndex)longgetByteOffset()longgetLengthInBytes()intgetPid()intsize()
-
-
-
Method Detail
-
getPid
public int getPid()
- Returns:
- pid
-
getByteOffset
public long getByteOffset()
- Returns:
- start byte offset
-
getLengthInBytes
public long getLengthInBytes()
- Returns:
- byte length
-
decode
public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException- Specified by:
decodein interfaceDecodable- Returns:
- decoded length
- Throws:
SMBProtocolDecodingException- See Also:
Decodable.decode(byte[], int, int)
-
encode
public int encode(byte[] dst, int dstIndex)- Specified by:
encodein interfaceEncodable- Returns:
- encoded length
- See Also:
Encodable.encode(byte[], int)
-
size
public int size()
- Specified by:
sizein interfaceEncodable- Returns:
- the encoded size
- See Also:
Encodable.size()
-
-