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