Example #1
0
 // 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;
 }
Example #2
0
 public void SetFlags(FrameFlags flags)
 {
     bFlags = flags.GetBytes();
 }