Re-set the position in the byte array so that we can read from it using the
IDataInput methods. git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@72 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -62,6 +62,9 @@ public class EZObjectMarshaller
|
|||||||
return dest;
|
return dest;
|
||||||
}
|
}
|
||||||
var bytes :ByteArray = (encoded as ByteArray);
|
var bytes :ByteArray = (encoded as ByteArray);
|
||||||
|
// re-set the position in case we're decoding the actual same byte
|
||||||
|
// array used to encode (and not a network reconstruction)
|
||||||
|
bytes.position = 0;
|
||||||
|
|
||||||
// TODO: Our own decoding, that takes into account
|
// TODO: Our own decoding, that takes into account
|
||||||
// the ApplicationDomain
|
// the ApplicationDomain
|
||||||
|
|||||||
Reference in New Issue
Block a user