private bool writeOK(byte[] buffer, int offset, int count) { try { m_stream.Write(m_clientdata, buffer, offset, count); } catch (Exception) { Tiff.Warning(this, "writeOK", "Failed to write {0} bytes", count); return false; } return true; }