/// <summary> /// Starts an End-of-Content (EOC) section. /// </summary> /// <param name="Class">Class</param> public void StartEndOfContent(Asn1TypeClass Class) { this.Start((byte)((((int)Class) << 6) | 0x20)); }
/// <summary> /// Ends the current End-of-Content (EOC) section. /// </summary> /// <param name="Class">Class</param> public void EndEndOfContent(Asn1TypeClass Class) { this.End((byte)((((int)Class) << 6) | 0x20)); }
/// <summary> /// Encodes an end-of-content (EOC) to the output. /// </summary> /// <param name="Class">Class</param> public void EndOfContent(Asn1TypeClass Class) { this.output.Add((byte)((((int)Class) << 6) | 0x20)); this.output.Add(0); }