public void Append(FsFileStatusPage file, byte[] bytes) { using (var stream = new System.IO.MemoryStream(bytes)) { this.RestClients.FileSystemRest.Append(this.Store, file, stream); } }
public void Appen(FsFileStatusPage file, string content) { var bytes = System.Text.Encoding.UTF8.GetBytes(content); using (var stream = new System.IO.MemoryStream(bytes)) { this.RestClients.FileSystemRest.Append(this.Store, file, stream); } }