                     newView[i] = view[i];
                 }
                 ba = newBuffer;
-				typedArray = null;
+				_typedArray = null;
             }
         }
 	}

                var encoder:TextEncoder = new TextEncoder('utf-8');
                bytes = encoder.encode(str);
                ba = bytes.buffer;
				typedArray = null;
                return;
            }


		return bd;
	}

    /**
     *  Gets a reference to the internal array of bytes.
     *  On the Flash side, this is  a ByteArray.
     *  On the JS side, it's a Uint8Array.
     *  This is primarily used for indexed access to the bytes, and internally
     *  where the platform-specific implementation is significant.
     *  
     *  @langversion 3.0
     *  @playerversion Flash 10.2
     *  @playerversion AIR 2.6
     *  @productversion FlexJS 0.7.0
     */
     COMPILE::SWF
     public function get array():ByteArray
     {
        return ba;
     }

    /**
     *  Gets a reference to the internal array of bytes.
     *  On the Flash side, this is  a ByteArray.
     *  On the JS side, it's a Uint8Array.
     *  This is primarily used for indexed access to the bytes, and internally
     *  where the platform-specific implementation is significant.
     *  
     *  @langversion 3.0
     *  @playerversion Flash 10.2
     *  @playerversion AIR 2.6
     *  @productversion FlexJS 0.7.0
     */
     COMPILE::JS
     public function get array():Uint8Array
     {
        return getTypedArray();
     }

	private var _endian:String = Endian.DEFAULT;

	/**
