Axiom.Platform.Android.AndroidZipAssetArchive.Load C# (CSharp) Method

Load() public method

public Load ( ) : void
return void
		public override void Load()
		{
			//if ( string.IsNullOrEmpty( _zipFile ) )
			//{
				_zipFile = Name;

				// read the open the zip archive
				var stream = _assets.Open( Name );
				byte[] buffer = new byte[ stream.Length ];
				stream.Read( buffer, 0, buffer.Length );
				stream.Close();

				ms = new MemoryStream( buffer );
				ms.Position = 0;

				// get a input stream from the zip file
				_zipStream = new ZipInputStream( ms );				
			//}
		}
AndroidZipAssetArchive