示例#1
0
 /**
  * Construct an SMB packet of the specified size.
  *
  * @param siz Size of SMB packet buffer to allocate.
  */
 public SMBSrvPacket(int siz) {
   m_smbbuf = new byte[siz];
   InitializeBuffer();
 }
示例#2
0
 /** Default constructor */
 public SMBSrvPacket() {
   m_smbbuf = new byte[DEFAULT_BUFSIZE];
   InitializeBuffer();
 }