<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
It is a strange place I live in. Without changing any code, the
below test passed:<br>
<br>
<blockquote>testFECDamagedEncodeAndDecodeRS_15_9<br>
<br>
| chunk decodedBytes proxy decoder encoder encodedByteFrame |<br>
chunk := self buildChunk: 8.<br>
<br>
decoder := FECDecoder new.<br>
encoder := FECEncoder new.<br>
proxy := decoder, encoder. <br>
proxy asProtocolStack.<br>
<br>
encodedByteFrame := encoder encodeFrame: (Frame onPayload:
chunk).<br>
1 timesRepeat: [encodedByteFrame payload at: encodedByteFrame
payload size atRandom put: 255 atRandom].<br>
decodedBytes := (decoder decodeFrame: encodedByteFrame)
payload.<br>
<br>
self assert: chunk equals: decodedBytes.<br>
</blockquote>
bless,<br>
robert<br>
<br>
<div class="moz-cite-prefix">On 12/18/2015 03:46 PM, tim Rowledge
wrote:<br>
</div>
<blockquote
cite="mid:F918E2D9-B528-4815-B60A-D519FA5AECE1@rowledge.org"
type="cite">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">On 18-12-2015, at 12:15 PM, Robert Withers <a class="moz-txt-link-rfc2396E" href="mailto:robert.w.withers@gmail.com"><robert.w.withers@gmail.com></a> wrote:
I would dearly love to not have platform code, come to think of it.
</pre>
</blockquote>
<pre wrap="">
Then don’t have any. It’s all capable of doing that. See Squeak3D for example. The slang code in B3DEnginePlugin and its subclasses implements a lot of stuff and all the C code is in platforms/Cross/plugins/Squeak3D No platform specific code.
tim
--
tim Rowledge; <a class="moz-txt-link-abbreviated" href="mailto:tim@rowledge.org">tim@rowledge.org</a>; <a class="moz-txt-link-freetext" href="http://www.rowledge.org/tim">http://www.rowledge.org/tim</a>
Oxymorons: Clearly misunderstood
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<div align="left">. .. .. ^,^ robert
</div>
</div>
</body>
</html>