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