/** * 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(); }
/** Default constructor */ public SMBSrvPacket() { m_smbbuf = new byte[DEFAULT_BUFSIZE]; InitializeBuffer(); }