internal override void vmethod_0(Class741.Class742 serializer) { Class889 stream = serializer.Stream; stream.vmethod_15(this.ulong_1); stream.vmethod_15(this.ulong_2); stream.vmethod_9(this.int_2); stream.vmethod_9(this.int_3); stream.vmethod_15(this.ulong_3); StreamUtil.Forward(this.class882_0.Stream, this.class882_0.Offset, stream.Stream, this.class882_0.Length); }
public Stream imethod_0(Class741.Class742 serializer) { PagedMemoryStream pagedMemoryStream = new PagedMemoryStream((long)(int)this.ulong_0); int num = 0; foreach (Class49.Class52.Class58.Class59 class59 in this.list_0) { serializer.Stream.Position = serializer.DataStoreStreamStartPosition + (long)serializer.SegmentIndex.Entries[(int)class59.SegmentIndex].Offset; Class49.Class56 class56 = new Class49.Class56(); class56.Read(serializer); if ((long)class56.BinaryData.Length != (long)class59.Size) { throw new Exception("Blob binary data size does not match expected size."); } StreamUtil.Forward(class56.BinaryData.Stream, class56.BinaryData.Offset, (Stream)pagedMemoryStream, class56.BinaryData.Length); num += (int)class59.Size; } pagedMemoryStream.Position = 0L; return((Stream)pagedMemoryStream); }
public void Write(Class889 w) { w.vmethod_11((uint)this.stream_0.Length); StreamUtil.Forward(this.stream_0, w.Stream); }