// GetSize() -> u64 fileSize public ResultCode GetSize(ServiceCtx context) { try { context.ResponseData.Write(_baseFile.GetSize()); } catch (HorizonResultException ex) { return((ResultCode)ex.ResultValue.Value); } return(ResultCode.Success); }
// GetSize() -> u64 fileSize public long GetSize(ServiceCtx context) { try { context.ResponseData.Write(_baseFile.GetSize()); } catch (HorizonResultException ex) { return(ex.ResultValue.Value); } return(0); }
// GetSize() -> u64 fileSize public long GetSize(ServiceCtx context) { context.ResponseData.Write(_baseFile.GetSize()); return(0); }