78 RailID val =
new RailID();
80 return obj.IsDataReady(val,
ref size);
129 RailID val =
new RailID();
180 readResult.Offset +=
num2;
static unsafe void Copy(Array sourceArray, Array destinationArray, int length)
bool ContainsKey(TKey key)
bool ICollection< KeyValuePair< TKey, TValue > >. Remove(KeyValuePair< TKey, TValue > keyValuePair)
static byte Min(byte val1, byte val2)
static byte Max(byte val1, byte val2)
ReadResult(byte[] data, uint size)
Queue< byte[]> _bufferPool
Queue< RailID > _deletionQueue
delegate bool OnReadEvent(byte[] data, int size, RailID user)
int Receive(RailID user, byte[] buffer, int bufferOffset, int bufferSize)
bool IsPacketAvailable(out uint size)
void SetReadEvent(OnReadEvent method)
Dictionary< RailID, Queue< ReadResult > > _pendingReadBuffers
void SetLocalPeer(RailID rail_id)
void ClearUser(RailID id)
bool IsDataAvailable(RailID id)