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