Пример #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();
 }