/// <summary>
 /// Opens a binary file
 /// </summary>
 /// <param name="filename"></param>
 /// <param name="_state">bit ordering</param>
 /// <param name="create">Create the file if it doesn't exist</param>
 /// <param name="_owner">owner of this stream</param>
 public EndianWriter(string filename, EndianState _state, object _owner, bool create) : this(filename, _state, create)
 {
     owner = _owner;
 }
예제 #2
0
		/// <summary>
		/// Opens a binary file
		/// </summary>
		/// <param name="filename"></param>
		/// <param name="_state">bit ordering</param>
		/// <param name="create">Create the file if it doesn't exist</param>
		/// <param name="_owner">owner of this stream</param>
		public EndianWriter(string filename, EndianState _state, object _owner, bool create) : this(filename, _state, create)
		{ owner = _owner; }
 /// <summary>
 /// Opens a binary file
 /// </summary>
 /// <param name="filename"></param>
 /// <param name="_state">bit ordering</param>
 /// <param name="create">Create the file if it doesn't exist</param>
 public EndianWriter(string filename, EndianState _state, bool create) : this(filename, create)
 {
     state = _state;
 }
예제 #4
0
		/// <summary>
		/// Creates a new Endian specific stream from a manifest file, with a certain format.
		/// </summary>
		/// <param name="path">Type path to the file</param>
		/// <param name="name">File name (with extension)</param>
		/// <param name="_state">bit ordering</param>
		/// <param name="_owner">owner of this stream</param>
		public EndianReader(string path, string name, EndianState _state, object _owner) : this(path, name, _state)
		{ owner = _owner; }
예제 #5
0
		/// <summary>
		/// Creates a new Endian specific stream from memory
		/// </summary>
		/// <param name="stream"></param>
		/// <param name="_state">bit ordering</param>
		/// <param name="_owner">owner of this stream</param>
		public EndianReader(MemoryStream stream, EndianState _state, object _owner) : this(stream, _state)
		{ owner = _owner; }
예제 #6
0
		/// <summary>
		/// Creates a new Endian specific stream from a manifest file, with a certain format.
		/// </summary>
		/// <param name="ass">Assembly to get the manifest file from</param>
		/// <param name="path">Type path to the file</param>
		/// <param name="name">File name (with extension)</param>
		/// <param name="_state">bit ordering</param>
		public EndianReader(System.Reflection.Assembly ass, string path, string name, EndianState _state) : this(ass, path, name)
		{ state = _state; }
예제 #7
0
		/// <summary>
		/// Creates a new Endian specific stream from a byte buffer
		/// </summary>
		/// <param name="bytes"></param>
		/// <param name="_state">bit ordering</param>
		public EndianReader(byte[] bytes, EndianState _state) : this(bytes)
		{ state = _state; }
 /// <summary>
 /// Creates a new Endian specific stream, with a certain format.
 /// </summary>
 /// <param name="filename"></param>
 /// <param name="_state">bit ordering</param>
 /// <param name="_owner">owner of this stream</param>
 public EndianReader(string filename, EndianState _state, object _owner) : this(filename, _state)
 {
     owner = _owner;
 }
 /// <summary>
 /// Creates a new Endian specific stream from a manifest file, with a certain format.
 /// </summary>
 /// <param name="path">Type path to the file</param>
 /// <param name="name">File name (with extension)</param>
 /// <param name="_state">bit ordering</param>
 /// <param name="_owner">owner of this stream</param>
 public EndianReader(string path, string name, EndianState _state, object _owner) : this(path, name, _state)
 {
     owner = _owner;
 }
 /// <summary>
 /// Creates a new Endian specific stream from a manifest file, with a certain format.
 /// </summary>
 /// <param name="path">Type path to the file</param>
 /// <param name="name">File name (with extension)</param>
 /// <param name="_state">bit ordering</param>
 public EndianReader(string path, string name, EndianState _state) : this(path, name)
 {
     state = _state;
 }
 /// <summary>
 /// Creates a new Endian specific stream from a manifest file, with a certain format.
 /// </summary>
 /// <param name="ass">Assembly to get the manifest file from</param>
 /// <param name="path">Type path to the file</param>
 /// <param name="name">File name (with extension)</param>
 /// <param name="_state">bit ordering</param>
 public EndianReader(System.Reflection.Assembly ass, string path, string name, EndianState _state) : this(ass, path, name)
 {
     state = _state;
 }
 /// <summary>
 /// Creates a new Endian specific stream, with a certain format.
 /// </summary>
 /// <param name="filename"></param>
 /// <param name="_state">bit ordering</param>
 public EndianReader(string filename, EndianState _state) : this(filename)
 { state = _state; }
        /// <summary>
        /// Disposes EndianStream data
        /// </summary>
        protected void BaseClose()
        {
            baseStream = null;

            state = EndianState.Little;
        }
예제 #14
0
		/// <summary>
		/// Disposes EndianStream data
		/// </summary>
		protected void BaseClose()
		{
			baseStream = null;

			state = EndianState.Little;
		}
예제 #15
0
		/// <summary>
		/// Creates a new Endian specific stream, with a certain format.
		/// </summary>
		/// <param name="filename"></param>
		/// <param name="_state">bit ordering</param>
		public EndianReader(string filename, EndianState _state) : this(filename)
		{ state = _state; }
 /// <summary>
 /// Creates a new Endian specific stream from a manifest file, with a certain format.
 /// </summary>
 /// <param name="ass">Assembly to get the manifest file from</param>
 /// <param name="path">Type path to the file</param>
 /// <param name="name">File name (with extension)</param>
 /// <param name="_state">bit ordering</param>
 /// <param name="_owner">owner of this stream</param>
 public EndianReader(System.Reflection.Assembly ass, string path, string name, EndianState _state, object _owner) : this(ass, path, name, _state)
 {
     owner = _owner;
 }
예제 #17
0
		/// <summary>
		/// Creates a new Endian specific stream from a manifest file, with a certain format.
		/// </summary>
		/// <param name="path">Type path to the file</param>
		/// <param name="name">File name (with extension)</param>
		/// <param name="_state">bit ordering</param>
		public EndianReader(string path, string name, EndianState _state) : this(path, name)
		{ state = _state; }
 /// <summary>
 /// Opens a memory stream
 /// </summary>
 /// <param name="stream"></param>
 /// <param name="_state">bit ordering</param>
 public EndianWriter(MemoryStream stream, EndianState _state) : this(stream)
 { state = _state; }
예제 #19
0
		/// <summary>
		/// Creates a new Endian specific stream from memory
		/// </summary>
		/// <param name="stream"></param>
		/// <param name="_state">bit ordering</param>
		public EndianReader(MemoryStream stream, EndianState _state) : this(stream)
		{ state = _state; }
 /// <summary>
 /// Opens a memory stream using a byte buffer
 /// </summary>
 /// <param name="bytes"></param>
 /// <param name="_state">bit ordering</param>
 public EndianWriter(byte[] bytes, EndianState _state) : this(bytes)
 { state = _state; }
예제 #21
0
		/// <summary>
		/// Creates a new Endian specific stream, with a certain format.
		/// </summary>
		/// <param name="filename"></param>
		/// <param name="_state">bit ordering</param>
		/// <param name="_owner">owner of this stream</param>
		public EndianReader(string filename, EndianState _state, object _owner) : this(filename, _state)
		{ owner = _owner; }
 /// <summary>
 /// Opens a memory stream
 /// </summary>
 /// <param name="stream"></param>
 /// <param name="_state">bit ordering</param>
 /// <param name="_owner">owner of this stream</param>
 public EndianWriter(MemoryStream stream, EndianState _state, object _owner) : this(stream, _state)
 {
     owner = _owner;
 }
예제 #23
0
		/// <summary>
		/// Creates a new Endian specific stream from a manifest file, with a certain format.
		/// </summary>
		/// <param name="ass">Assembly to get the manifest file from</param>
		/// <param name="path">Type path to the file</param>
		/// <param name="name">File name (with extension)</param>
		/// <param name="_state">bit ordering</param>
		/// <param name="_owner">owner of this stream</param>
		public EndianReader(System.Reflection.Assembly ass, string path, string name, EndianState _state, object _owner) : this(ass, path, name, _state)
		{ owner = _owner; }
 /// <summary>
 /// Opens a memory stream using a byte buffer
 /// </summary>
 /// <param name="bytes"></param>
 /// <param name="_state">bit ordering</param>
 /// <param name="_owner">owner of this stream</param>
 public EndianWriter(byte[] bytes, EndianState _state, object _owner) : this(bytes, _state)
 {
     owner = _owner;
 }
예제 #25
0
		/// <summary>
		/// Creates a new Endian specific stream from a byte buffer
		/// </summary>
		/// <param name="bytes"></param>
		/// <param name="_state">bit ordering</param>
		/// <param name="_owner">owner of this stream</param>
		public EndianReader(byte[] bytes, EndianState _state, object _owner) : this(bytes, _state)
		{ owner = _owner; }
예제 #26
0
		/// <summary>
		/// Opens a binary file
		/// </summary>
		/// <param name="filename"></param>
		/// <param name="_state">bit ordering</param>
		/// <param name="create">Create the file if it doesn't exist</param>
		public EndianWriter(string filename, EndianState _state, bool create) : this(filename, create)
		{ state = _state; }