示例#1
0
文件: Frame.cs 项目: theanti9/Tagling
 // Create frame from scratch
 public Frame(FrameMeta.FrameIDs id, FrameFlags flags, String data)
 {
     bFrameId = (new UTF8Encoding()).GetBytes(id.ToString());
     bFlags = flags.GetBytes();
     sData = data;
     iSize = data.Length;
 }
示例#2
0
文件: Frame.cs 项目: theanti9/Tagling
 public void SetFlags(FrameFlags flags)
 {
     bFlags = flags.GetBytes();
 }