static public CmlEntity ReadCmlEntity(this StreamSystemStream item, long milliseconds = StreamSystem.DEFAULT_WAIT) { return(item.GetStreamSystem().ReadCmlEntity(item.GetPath(), milliseconds)); }
static public AttemptResult AttemptReadBytes(this StreamSystemStream item, Process <byte[]> process, long milliseconds = StreamSystem.DEFAULT_WAIT) { return(item.GetStreamSystem().AttemptReadBytes(item.GetPath(), process, milliseconds)); }
static public AttemptResult AttemptReadObjectIfExists <T>(this StreamSystemStream item, ref T to_read, long milliseconds = StreamSystem.DEFAULT_WAIT) { return(item.GetStreamSystem().AttemptReadObjectIfExists <T>(item.GetPath(), ref to_read, milliseconds)); }
static public AttemptResult OpenWrite(this StreamSystemStream item, out Stream stream, long milliseconds = StreamSystem.DEFAULT_WAIT) { return(item.GetStreamSystem().OpenStreamForWriting(item.GetPath(), out stream, milliseconds)); }
static public ByteSequence GetHash(this StreamSystemStream item, long milliseconds = StreamSystem.DEFAULT_WAIT) { return(item.GetStreamSystem().GetStreamHash(item.GetPath(), milliseconds)); }
static public AttemptResult AttemptReadObject <T>(this StreamSystemStream item, out T obj, long milliseconds = StreamSystem.DEFAULT_WAIT) { return(item.GetStreamSystem().AttemptReadObject <T>(item.GetPath(), out obj, milliseconds)); }
static public AttemptResult Write(this StreamSystemStream item, AttemptProcess <Stream> process, long milliseconds = StreamSystem.DEFAULT_WAIT) { return(item.GetStreamSystem().Write(item.GetPath(), process, milliseconds)); }
static public T ReadBytes <T>(this StreamSystemStream item, Operation <T, byte[]> operation, long milliseconds = StreamSystem.DEFAULT_WAIT) { return(item.GetStreamSystem().ReadBytes <T>(item.GetPath(), operation, milliseconds)); }
static public AttemptResult WriteText(this StreamSystemStream item, string text, long milliseconds = StreamSystem.DEFAULT_WAIT) { return(item.GetStreamSystem().WriteText(item.GetPath(), text, milliseconds)); }
static public AttemptResult Delete(this StreamSystemStream item, long milliseconds = StreamSystem.DEFAULT_WAIT) { return(item.GetStreamSystem().DeleteStream(item.GetPath(), milliseconds)); }
static public string ReadText(this StreamSystemStream item, long milliseconds = StreamSystem.DEFAULT_WAIT) { return(item.GetStreamSystem().ReadText(item.GetPath(), milliseconds)); }
static public AttemptResult WriteEmpty(this StreamSystemStream item, long milliseconds = StreamSystem.DEFAULT_WAIT) { return(item.GetStreamSystem().WriteEmpty(item.GetPath(), milliseconds)); }
static public AttemptResult AttemptReadCmlEntity(this StreamSystemStream item, out CmlEntity entity, long milliseconds = StreamSystem.DEFAULT_WAIT) { return(item.GetStreamSystem().AttemptReadCmlEntity(item.GetPath(), out entity, milliseconds)); }
static public byte[] ReadBytes(this StreamSystemStream item, long milliseconds = StreamSystem.DEFAULT_WAIT) { return(item.GetStreamSystem().ReadBytes(item.GetPath(), milliseconds)); }
static public DateTime GetTimestamp(this StreamSystemStream item) { return(item.GetStreamSystem().GetStreamTimestamp(item.GetPath())); }
static public AttemptResult AttemptReadBytes <T>(this StreamSystemStream item, Operation <T, byte[]> operation, out T output, long milliseconds = StreamSystem.DEFAULT_WAIT) { return(item.GetStreamSystem().AttemptReadBytes <T>(item.GetPath(), operation, out output, milliseconds)); }
static public bool DoesExist(this StreamSystemStream item) { return(item.GetStreamSystem().DoesStreamExist(item.GetPath())); }
static public AttemptResult WriteBytes(this StreamSystemStream item, byte[] bytes, long milliseconds = StreamSystem.DEFAULT_WAIT) { return(item.GetStreamSystem().WriteBytes(item.GetPath(), bytes, milliseconds)); }
static public AttemptResult AttemptReadBitmap(this StreamSystemStream item, out Bitmap bitmap, long milliseconds = StreamSystem.DEFAULT_WAIT) { return(item.GetStreamSystem().AttemptReadBitmap(item.GetPath(), out bitmap, milliseconds)); }
public string GetPath() { return(GetModifiedPath(stream.GetPath())); }
static public Bitmap ReadBitmap(this StreamSystemStream item, long milliseconds = StreamSystem.DEFAULT_WAIT) { return(item.GetStreamSystem().ReadBitmap(item.GetPath(), milliseconds)); }
static public T ReadObject <T>(this StreamSystemStream item, long milliseconds = StreamSystem.DEFAULT_WAIT) { return(item.GetStreamSystem().ReadObject <T>(item.GetPath(), milliseconds)); }
static public AttemptResult AttemptReadIntoStream(this StreamSystemStream item, Stream destination, long milliseconds = StreamSystem.DEFAULT_WAIT) { return(item.GetStreamSystem().AttemptReadIntoStream(item.GetPath(), destination, milliseconds)); }
static public AttemptResult WriteObject(this StreamSystemStream item, object to_write, long milliseconds = StreamSystem.DEFAULT_WAIT) { return(item.GetStreamSystem().WriteObject(item.GetPath(), to_write, milliseconds)); }
static public AttemptResult WriteStreamTo(this StreamSystemStream item, Stream source, long milliseconds = StreamSystem.DEFAULT_WAIT) { return(item.GetStreamSystem().WriteStreamTo(item.GetPath(), source, milliseconds)); }
static public AttemptResult Copy(this StreamSystemStream item, StreamSystemStream dst, bool overwrite, long milliseconds = StreamSystem.DEFAULT_WAIT) { return(item.GetStreamSystem().CopyStream(item.GetPath(), dst.GetStreamSystem(), dst.GetPath(), overwrite, milliseconds)); }
static public bool TryGetLocalPath(this StreamSystemStream item, out string local_path) { return(item.GetStreamSystem().TryGetLocalPath(item.GetPath(), out local_path)); }