3 * Copyright (C)2007-2008 Versabanq Innovations Inc. and contributors.
4 * See the included file named LICENSE for license information.
10 public class WvLoopback
: WvStream
12 WvBuf mybuf
= new WvBuf();
19 public override int read(WvBytes b
)
21 int max
= b
.len
< mybuf
.used
? b
.len
: mybuf
.used
;
22 b
.put(0, mybuf
.get(max
));
28 public override int write(WvBytes b
)