public class SMBUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static byte[] |
SMB_HEADER |
static byte[] |
SMB2_HEADER |
| Constructor and Description |
|---|
SMBUtil() |
| Modifier and Type | Method and Description |
|---|---|
static int |
readInt2(byte[] src,
int srcIndex) |
static int |
readInt4(byte[] src,
int srcIndex) |
static long |
readInt8(byte[] src,
int srcIndex) |
static long |
readTime(byte[] src,
int srcIndex) |
static long |
readUTime(byte[] buffer,
int bufferIndex) |
static void |
writeInt2(long val,
byte[] dst,
int dstIndex) |
static void |
writeInt4(long val,
byte[] dst,
int dstIndex) |
static void |
writeInt8(long val,
byte[] dst,
int dstIndex) |
static void |
writeTime(long t,
byte[] dst,
int dstIndex) |
static void |
writeUTime(long t,
byte[] dst,
int dstIndex) |
public static final byte[] SMB_HEADER
public static final byte[] SMB2_HEADER
public static void writeInt2(long val,
byte[] dst,
int dstIndex)
public static void writeInt4(long val,
byte[] dst,
int dstIndex)
public static int readInt2(byte[] src,
int srcIndex)
public static int readInt4(byte[] src,
int srcIndex)
public static long readInt8(byte[] src,
int srcIndex)
public static void writeInt8(long val,
byte[] dst,
int dstIndex)
public static long readTime(byte[] src,
int srcIndex)
public static void writeTime(long t,
byte[] dst,
int dstIndex)
public static long readUTime(byte[] buffer,
int bufferIndex)
public static void writeUTime(long t,
byte[] dst,
int dstIndex)
Copyright © 2018. All rights reserved.