示例#1
0
 public static DisposableRealmPacketIn CreateFromOutPacket(BufferSegment oldSegment, BufferSegment newSegment,
                                                           int totalLength)
 {
     return(DisposableRealmPacketIn.CreateFromOutPacket(oldSegment, newSegment, 0, totalLength));
 }
示例#2
0
 public static DisposableRealmPacketIn CreateFromOutPacket(RealmPacketOut packet)
 {
     byte[] finalizedPacket = packet.GetFinalizedPacket();
     return(DisposableRealmPacketIn.CreateFromOutPacket(finalizedPacket, 0, finalizedPacket.Length));
 }