mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-24 00:20:57 +01:00
update sharpcifs
This commit is contained in:
@@ -16,25 +16,25 @@
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
namespace SharpCifs.Dcerpc.Ndr
|
||||
{
|
||||
public class NdrShort : NdrObject
|
||||
{
|
||||
public int Value;
|
||||
public class NdrShort : NdrObject
|
||||
{
|
||||
public int Value;
|
||||
|
||||
public NdrShort(int value)
|
||||
{
|
||||
this.Value = value & unchecked(0xFF);
|
||||
}
|
||||
public NdrShort(int value)
|
||||
{
|
||||
this.Value = value & unchecked(0xFF);
|
||||
}
|
||||
|
||||
/// <exception cref="SharpCifs.Dcerpc.Ndr.NdrException"></exception>
|
||||
public override void Encode(NdrBuffer dst)
|
||||
{
|
||||
dst.Enc_ndr_short(Value);
|
||||
}
|
||||
/// <exception cref="SharpCifs.Dcerpc.Ndr.NdrException"></exception>
|
||||
public override void Encode(NdrBuffer dst)
|
||||
{
|
||||
dst.Enc_ndr_short(Value);
|
||||
}
|
||||
|
||||
/// <exception cref="SharpCifs.Dcerpc.Ndr.NdrException"></exception>
|
||||
public override void Decode(NdrBuffer src)
|
||||
{
|
||||
Value = src.Dec_ndr_short();
|
||||
}
|
||||
}
|
||||
/// <exception cref="SharpCifs.Dcerpc.Ndr.NdrException"></exception>
|
||||
public override void Decode(NdrBuffer src)
|
||||
{
|
||||
Value = src.Dec_ndr_short();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user