Example #1
0
        public LinkedListNodeT UnPack()
        {
            var _o = new LinkedListNodeT();

            this.UnPackTo(_o);
            return(_o);
        }
Example #2
0
        public static Offset <FlatSharpTests.Oracle.LinkedListNode> Pack(FlatBufferBuilder builder, LinkedListNodeT _o)
        {
            if (_o == null)
            {
                return(default(Offset <FlatSharpTests.Oracle.LinkedListNode>));
            }
            var _Value = _o.Value == null ? default(StringOffset) : builder.CreateString(_o.Value);
            var _Next  = _o.Next == null ? default(Offset <FlatSharpTests.Oracle.LinkedListNode>) : FlatSharpTests.Oracle.LinkedListNode.Pack(builder, _o.Next);

            return(CreateLinkedListNode(
                       builder,
                       _Value,
                       _Next));
        }
Example #3
0
 public void UnPackTo(LinkedListNodeT _o)
 {
     _o.Value = this.Value;
     _o.Next  = this.Next.HasValue ? this.Next.Value.UnPack() : null;
 }