예제 #1
0
 public ValueTask <WrxPacket> ReadAsync(CancellationToken cancellationToken = default)
 {
     return(WrxByteStuffing.ReadPacketAsync(Base, (s, t) => WrxPacket.ReadAsync(s, t), cancellationToken));
 }
예제 #2
0
 public ValueTask WriteAsync(WrxPacket packet, CancellationToken cancellationToken = default)
 {
     return(WrxByteStuffing.WritePacketAsync(Base, (s, p, t) => p.WriteAsync(s, t), packet, cancellationToken));
 }