Added length check to EncodedU32
Fixed EncodedU32.WriteTo
Modified length check in EncodedU32.ReadFrom