diff options
Diffstat (limited to 'Emby.Common.Implementations/IO/SharpCifs/Dcerpc/Ndr/NdrShort.cs')
| -rw-r--r-- | Emby.Common.Implementations/IO/SharpCifs/Dcerpc/Ndr/NdrShort.cs | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/Emby.Common.Implementations/IO/SharpCifs/Dcerpc/Ndr/NdrShort.cs b/Emby.Common.Implementations/IO/SharpCifs/Dcerpc/Ndr/NdrShort.cs index db50de2dd..e2ea8c65b 100644 --- a/Emby.Common.Implementations/IO/SharpCifs/Dcerpc/Ndr/NdrShort.cs +++ b/Emby.Common.Implementations/IO/SharpCifs/Dcerpc/Ndr/NdrShort.cs @@ -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(); + } + } } |
