static public bool CopyTo(this Nook item, Nook dst_nook) { bool result = false; item.Read(delegate(Stream src_stream) { result = dst_nook.WriteFromStream(src_stream); }); return(result); }
static public bool TryReadText(this Nook item, out string text) { string temp = null; bool result = item.Read(delegate(Stream stream) { temp = stream.ReadText(); }); text = temp; return(result); }
public override bool Read(Process <Stream> process) { return(nook.Read(process)); }
static public bool ReadIntoStream(this Nook item, Stream dst_stream) { return(item.Read(delegate(Stream src_stream) { dst_stream.WriteStream(src_stream); })); }