tlvint8.cs

来自「这个是基于SMPP的开发源码」· CS 代码 · 共 35 行

CS
35
字号
using System;
using System.Collections.Generic;
using System.Text;

namespace SMPP.Variable
{
	/// <summary>
	/// TLV8位整型
	/// </summary>
	public class TLVInt8 : TLV
	{
		public byte Value
		{
			get
			{
				return (ValueField as Integer8).Value;
			}
			set
			{
				(ValueField as Integer8).Value = value;
			}
		}

		public TLVInt8(short Tag) : base(Tag)
		{
			ValueField = new Integer8();
		}

		public override void SetNewLength(int Length)
		{
			//不用实现
		}
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?